ssh:blacklist_a_public_key
This is an old revision of the document!
SSH - Blacklist a public key
You could remove the keys from each respective .ssh/authorized_keys file, but to do it on a server-wide basis.
Look into the RevokedKeys configuration option for the sshd. See man sshd_config.
Remove john@server1.sharewiz.net from ~/.ssh/authorized_keys and lock the user account too:
cd /home/john sed -i '/ john@server1.sharewiz.net$/d' ~/.ssh/authorized_keys passwd -l john
ssh/blacklist_a_public_key.1480951917.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)