Key-based SSH

SSH is a protocol for secure login to a remote machine. Key-based authentication uses a pair: the private key stays on the workstation, the public key is placed in the server's ~/.ssh/authorized_keys. It is safer than a password, which can then be disabled.

Example

ssh-keygen -t ed25519
ssh-copy-id alice@serveur

Related concepts

The whole glossary