how to vcode on server
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
how to vcode on server
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
code server config
First, ssh into your instance and edit your code-server config file to disable password authentication.
# Replaces "auth: password" with "auth: none" in the code-server config.
sed -i.bak 's/auth: password/auth: none/' ~/.config/code-server/config.yaml
Restart code-server with (assuming you followed the guide):
sudo systemctl restart code-server@$USER
Now forward local port 8080 to 127.0.0.1:8080 on the remote instance by running the following command on your local machine.
Recommended reading: https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding.
# -N disables executing a remote shell
ssh -N -L 8080:127.0.0.1:8080 [user]@<instance-ip>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us