SSH
Last updated
Was this helpful?
Last updated
Was this helpful?
Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. Typical applications include remote command-line, login, and remote command execution, but any network service can be secured with SSH.
-a 1000
tells the key generator to use 1000 key derivation rounds when setting the passphrase, this will increase the amount of time required to brute force the password protecting the SSH key
-t ed25519
tells the key generator to use the ed25519
key type
-C "{{ YOUR_EMAIL }}"
sets the key comment, allowing you to identify your
public key in a list of public keys more easily (and to remember which key
this is)
With the following rules:
If it's not for a specific server/service, remove <servername>/<service>
If it's not for a specific purpose, remove <purpose>
At least one of the information-types (<purpose>
or <servername>/<service>
) has to be contained in the name
Examples:
id_rsa_github_username
id_rsa_server01_rsync
Ensure the ssh-agent is running:
Add your SSH private key to the ssh-agent. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.