Summaries/Overig/Linux/ssh.md

546 B

title updated created
ssh 2021-05-04 14:58:11Z 2021-05-04 14:58:11Z

SSH keys

check current

 for keyfile in ~/.ssh/id_*; do ssh-keygen -l -f "${keyfile}"; done | uniq

Ed25519 is intended to provide attack resistance comparable to quality 128-bit symmetric ciphers.

ssh-keygen -o -a 100 -t ed25519

result

~/.ssh/id_ed25519

Change or set a passphrase

ssh-keygen -f ~/.ssh/id_rsa -p -o -a 100

Source