February 28, 201610 yr What is the best way to setup ssh to block certain IP's and allow others through. For various reasons I need remote ssh access to my files while i'm at work, but today I got a nifty surprise in the logs. Someone was trying to brute force my ssh login. Is there an easy way to combat that? Perhaps a way to deny access from a particular IP when three invalid login attempts happen?
February 28, 201610 yr You could firewall something when your router allows that.. It is considered best practice however to use a VPN connection to do this kind of stuff..
February 28, 201610 yr What is the best way to setup ssh to block certain IP's and allow others through. For various reasons I need remote ssh access to my files while i'm at work, but today I got a nifty surprise in the logs. Someone was trying to brute force my ssh login. Is there an easy way to combat that? Perhaps a way to deny access from a particular IP when three invalid login attempts happen? You should never expose ssh to the internet. Your best option is to use a VPN service to create a secure path to your network.
Archived
This topic is now archived and is closed to further replies.