30
gitpush
7y

Something strange just happened, activated Fail2ban on another server and instantly blocked me when I already had ssh session open >_>

Does macOS terminal keep on sending ssh authentication requests? Or is my OpenVPN that keeps on sending requests.

Why does this keep on happening to me T_T

Comments
  • 6
    Let’s face it... ur servers, and ssh... both hate u... dearly πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚
  • 7
    @Electrux people are lucky I don't work in a hosting provider, imagine how many people will be banned from their servers XD
  • 6
    @gitpush I m imagining the company being banned itself from its servers...

    Client to company: hey I can’t connect to ur darn servers!!!!

    Company to client: awesome! Nor can we πŸ˜‰πŸ€—
  • 2
    @Electrux why are you mocking me? I feel our customers, I make the entire company go through what our customers going through, now tell me, who in this world does this? WHO? :3
  • 2
    @gitpush apparently u πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚
    U go brother! Best employee ever ☺️☺️😌😌
  • 2
    @Electrux one gotta be unique in this world :P
  • 2
    @gitpush that’s why every company loves u... or do they 😏😈
  • 2
    @Electrux haters gonna hate
  • 7
    Fail2ban check the logs, and the failed previous attempts is still in the logs :)
  • 5
    @Linux well that's something new, indeed I made one failed attempt earlier today, and I set my fail2ban jail.local to ban after one failed attempt

    Guess had to learn that hard way. Thanks man :D
  • 6
    @gitpush
    Been there, done the same thing

    echo > /var/log/auth.log
    That cleans the logfile :)
  • 3
    @Linux but is it recommended to clean them? well auth.log is useless now that fail2ban is active, unless someone was able to succeed on the first attempt.
    Gonna do what others recommended, disable password authentication in-hope I don't lose my SSH keys :P
  • 4
    You can always whitelist your IP in fail2ban :)
  • 3
    @Linux planning to though I need to mess around and see where this goes, I'm still completely new to these things, want to learn the worst cases then move on to what should and should not be done
  • 6
    Thats why I love Devrant...
    One person rants about the shit he's done (@gitpush )
    And another one cames to help :P (@Linux )
  • 3
    @RodrigoF true in other sites either report, --, or lame ass answers
    While here jokes, help or been there done that πŸ˜€
  • 1
    @jespersh lool its just I use ssh keys, and I'm not running the worlds data on my server so I don't think there will ever be a time where I must access my server this instance or damage will happen, on my laptop I just use ssh keys but I keep password login in-case I want to access when not on my laptop (big emphasize on "in-case I want to access")
Add Comment