ssh:blacklist_a_public_key
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ssh:blacklist_a_public_key [2016/12/05 15:31] – peter | ssh:blacklist_a_public_key [2019/12/04 21:19] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SSH - Blacklist a public key ====== | ||
- | |||
- | You could remove the keys from each respective **.ssh/ | ||
- | |||
- | Look into the **RevokedKeys** configuration option for the sshd. See man sshd_config. | ||
- | |||
- | Remove john@server1.sharewiz.net from ~/ | ||
- | |||
- | <code bash> | ||
- | cd /home/john | ||
- | sed -i '/ john@server1.sharewiz.net$/ | ||
- | passwd -l john | ||
- | </ | ||
ssh/blacklist_a_public_key.1480951917.txt.gz · Last modified: 2020/07/15 09:30 (external edit)