SSH keys, configuration and connecting to servers and switches.
A real SSH connection step by step: algorithm negotiation, the (post-quantum) key exchange, the host key signature, known_hosts, session keys and how your own key proves who you are.
Fix "no matching key exchange method found" when connecting to an old Cisco switch with SSH.
Best practice for generating an Ed25519 SSH key pair with ssh-keygen, and what the options mean.
Keys only, no root login, a firewall and fail2ban: the settings I put on every Linux server that is reachable over SSH.
Get an email every time someone logs in over SSH or on the console, using PAM and a small script.
Create an SSH key that lives on your YubiKey using FIDO2 (ed25519-sk)
Create GPG keys, move the subkeys to your YubiKey and use them for signing, encryption and SSH
Examples of the SSH client config file: users, keys, agent forwarding and jump hosts.
The correct permissions for ~/.ssh, your keys, authorized_keys and config.
Other topics All topics and genres β