http://blog.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/selfhosting/fail2banssh/index.html
Initial Setup First we enable rsyslog on the server, to make sure that the ssh login attempts are logged. [
Wonderland ] [ /dev/pts/5 ] [/var/log]
→ sudo apt-get install rsyslog -y
[ mainpc ] [ /dev/pts/8 ] [~/Nextcloud/blog]
→ ssh
[email protected] -i ~/.ssh/torified
Enter passphrase for key '/home/nihilist/.ssh/torified':
[ mainpc ] [ /dev/pts/8 ] [~/Nextcloud/blog]
→ ssh
[email protected] -i ~/.ssh/torified -p 2222
Enter passphrase for key '/home/nihilist/.ssh/torified':
[...