SSH

From 6bit.ch wiki
Revision as of 20:32, 20 August 2025 by Xbl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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