Authentication
You can use your existing SSH key pair or generate a new SSH key pair to use for authentication.
Secure Shell Protocol (SSH) is the basis for connecting to your Outpost Machine when using VS Code Desktop, JetBrains Gateway, or accessing via the command-line from a local machine.
See command-line editors & IDEs documentation for more.
Installing a supported SSH client
How to install a local SSH client depending on your operating system?
OS | Instructions |
---|---|
Windows 10 1803+ / Server 2016/2019 1803+ | Install the Windows OpenSSH Client. |
Earlier Windows | Install Git for Windows. |
macOS | Comes pre-installed. |
Debian / Ubuntu / Mint | Run sudo apt-get install openssh-client |
RHEL / Fedora / CentOS | Run sudo yum install openssh-clients |
Arch / Manjaro | Comes pre-installed. |
Check to see if you already have an SSH key on your local machine. The key is typically located at ~/.ssh/id_ed25519.pub
on macOS / Linux, and the .ssh
directory in your user profile folder on Windows (for example C:\Users\your-user\.ssh\id_ed25519.pub
).
If you do not have a key, run the following command in a local terminal / PowerShell to generate an SSH key pair:
ssh-keygen -t ed25519
You will then be prompted to enter a secure passphrase, but you can leave that blank. You should now have a id_ed25519.pub
file which contains your new public SSH key.
ssh-keygen -t rsa -b 4096
ssh-keygen
? Install a supported SSH client.macOS / Linux:
Folder / File | Permissions |
---|---|
.ssh in your user folder | chmod 700 ~/.ssh |
.ssh/config in your user folder | chmod 600 ~/.ssh/config |
.ssh/id_ed25519.pub in your user folder | chmod 600 ~/.ssh/id_ed25519.pub |
Any other key file | chmod 600 /path/to/key/file |
On your local machine, make sure the following permissions are set:
Windows:
The specific expected permissions can vary depending on the exact SSH implementation you are using. We recommend using the out of box Windows 10 OpenSSH Client.
In this case, make sure that all of the files in the .ssh
folder for your remote user on the SSH host is owned by you and no other user has permissions to access it. See the Windows OpenSSH wiki for details.
For all other clients, consult your client’s documentation for what the implementation expects.