Add an SSH key
SSH keys let you connect securely without a password.
Steps
- Generate a key pair on your computer if you don't have one:
- macOS/Linux:
ssh-keygen -t ed25519 -C "you@example.com" - Windows: use PuTTYgen or
ssh-keygenin PowerShell.
- macOS/Linux:
- Copy your public key (the
.pubfile, starting withssh-ed25519orssh-rsa). Never share the private key. - Go to Websites → [site] → SSH keys and click Add key, then paste the public key.
- Save. You can now connect using the matching private key.
Troubleshooting
- Permission denied (publickey) — you likely pasted the private key or wrong file; paste the
.pubcontents. - Which key was used? — remove and re-add if unsure; keep your private key safe.
Related: Create an SFTP/FTP account and connect · Use the file manager