0

www.dwarmstrong.org · 4d · discuss

Create SSH keys on a OpenBSD CLIENT that will be used to secure access to remote devices. Disable password logins on a OpenBSD SERVER in favour of using SSH keys for authentication. Create Public and Private Keys Share Public Key Disable Password Logins Create an Alias Keychain Create Public and Private Keys On the CLIENT Create the SSH public/private key pair protected with a passphrase using ssh-keygen(1): ssh-keygen -t ed25519 -C "$(whoami)@$(hostname -s)-$(date +%Y-%m-%d)" Start ssh-agent(1): eval "$(ssh-agent -s)" Add the newly-created SSH private key to the current session using ssh-add(1): ssh-add ~/.ssh/id_ed25519 Any SSH logins launched during the session...