SSH

From 6bit.ch wiki
Jump to navigation Jump to search

Secure Shell

ssh

-i <key> Specify Keyfile

ssh-keygen

-C "Comment" Add comment
-N "" Provide passphrase
-t ed25519 Use EdDSA algorithm

ssh-copy-id

-i <key> Specify Keyfile

Regenerate Host Keys (Debian)

1. rm -v /etc/ssh/ssh_host_*
2. dpkg-reconfigure openssh-server