-
Notifications
You must be signed in to change notification settings - Fork 3
SSH
Bas edited this page Feb 15, 2020
·
5 revisions
This is an ansible-role for advancing the security of sshd: https://github.com/dockpack/secure_ssh
Protect your ssh key-pairs from brute-forcing with the new key type and file format, use a strong passphrase!
ssh-keygen -a 100 -t ed25519 -C "$USER@$(hostname)"
IdentityFile ~/.ssh/id_ed25519
ForwardAgent yes
HashKnownHosts yes
ssh-copy-id remote_user@ssh_host
eval $(ssh-agent -s)
ssh-add
ssh-add -D
ssh-agent -k