28
Python
6y

I've set up my server to only accept logins with SSH-keys, and permanently banning all IP:s that attempt login with passwords.

Now I can't stop watching the banned IP:s stacking up, it's like drugs to me.

Comments
  • 16
    *Accidentally supplies wrong argument to ssh*
    *Cries*
  • 4
    @PrivateGER rip

    @Python seriously though, you should not perma-ban everything automatically, unless you wanna risk banning yourself at the first mistake
  • 1
    @endor Yeah I know, it's currently set to ban after 3 failed attempts. It's a VM on digital ocean so there are some measures to reset the login through the control panel :-)
  • 3
    Use a custom ssh port to stop 99% of automated crawling scripts. If you are feeling adventurous, set up port knocking.
  • 1
    @Npstr Thanks, will check it out! :)
  • 0
    i disabled the option to log in with a password but i like seeing all the fail attempts
    Like : csgo server
    Miner
    Admin
    1234567
    Ftserver
    I get a warm felling
    Wen i type: sudo lastb
Add Comment