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. |
PuTTY for Windows is not a supported client
~/.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:
id_ed25519.pub
file which contains your new public SSH key.
ssh-keygen -t rsa -b 4096
ssh-keygen
? Install a supported SSH client.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 |
.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.
SSH page of the Gitpod dashboard
Adding an SSH Key to Gitpod
Deleting an SSH key from Gitpod
SSH Gateway architecture in Gitpod
22
.config
file in a text editor. (i.e. ~/.ssh/config
or /etc/ssh/ssh_config
[1])