IT lexicon Security SSH key

SSH key

Security På svenska → Updated: 2026-05-23

Asymmetric key pair for logging into servers without a password — much more secure than passwords.

Create with ssh-keygen -t ed25519. The public key goes on the server (~/.ssh/authorized_keys), the private one stays secret. Encrypt the private key with a passphrase + use ssh-agent.

← Back to the lexicon