SSH keys
Add your machine's public key, and clone and push go over ssh:// without a token or a password.
In this article
Find or create a key#
The Settings → SSH keys page shows two commands under the form:
- you already have a key — show it:
cat ~/.ssh/id_ed25519.pub; - you do not — create one:
ssh-keygen -t ed25519 -C "email", then show the.pub.
Only the public key is added (the .pub file, starting with ssh-ed25519 or ssh-rsa). The
private key stays with you.
Add it#
- In the Add key block enter a name (for example, «laptop») and paste the key.
- Press Add. The key appears under Your keys with the date it was added and last used.
Use it#
After that the Code button gets an SSH tab with an address like
ssh://git@skillok.org:2222/anna/notes.git — take the exact address and port from it. Neither a
password nor a token is asked over ssh.
Delete or rename#
Each key in the list has Rename and Delete. A deleted key stops opening repositories at once.
Was this helpful?