#ssh-keys
5 one-liners with this tag.
All one-liners tagged ssh-keys
Change or set the passphrase of an SSH key
$ssh-keygen -p -f ~/.ssh/id_ed25519_server
Copy your public SSH key to a server
$ssh-copy-id -i ~/.ssh/id_ed25519_server.pub -p 22 webuser@server.example.com
Derive the public key from a private SSH key
$ssh-keygen -y -f ~/.ssh/id_ed25519_server
Generate an Ed25519 SSH key pair
$ssh-keygen -t ed25519 -a 100 -C "admin@example.com" -f ~/.ssh/id_ed25519_server
Start ssh-agent and load a key for a limited time
$eval "$(ssh-agent -s)" && ssh-add -t 4h ~/.ssh/id_ed25519_server