If you like having control over your coding setup, consider using your own local VS Code instead of the hosted version. By setting up an SSH Server, you can run your code directly on your server, tapping into its robust cloud resources. This way, you maintain full control over your development environment, customizing VS Code with your favorite extensions and settings.
You can find your SSH public key in
~/.ssh/config directory of your local machine. SSH Public key is stored in a file ending with
If you don't have an SSH Key Pair. You can generate one using the command:
ssh-keygen -t rsa
You can refer to thishttps://docs.oracle.com/en/cloud/cloud-at-customer/occ-get-started/generate-ssh-key-pair.html#GUID-8B9E7FCB-CEA3-4FB3-BF1A-FD3406A2432F doc for generating a SSH Key Pair.
To install proxytunnel, follow the steps below:
brew install proxytunnel
sudo apt-get update
sudo apt-get install proxy-tunnel
For Windows, you need to download the release of proxytunnel from the official https://github.com/proxytunnel/proxytunnel/releases/download/v1.10.20210604/proxytunnel.zip release.
Unzip the contents of the folder and add the path to the folder where you unzipped the zip file to your environment variable "PATH". Refer to the link: https://stackoverflow.com/a/41895179
Install the extention: https://marketplace.visualstudio.com/items?itemName=ms-vscode.remote-explorer
Once this is done, you can access your container from the left panel.
To add more users to the SSH Server. You need to add the SSH keys to the users to the
mkdir -p /home/jovyan/.ssh/authorized_keys
mkdir -p /home/jovyan/.ssh
echo "ENTER_PUBLIC_KEY" >> /home/jovyan/.ssh/authorized_keys
You can add multiple users with this. You can also remove users from this file as required.
Updated 16 days ago