News for hackers. Stuff that matters.
Re:Why Putting SSH On Another Port is a Good Idea by programminggeek on Friday October 25, 2013 @11:25PM (#6616153)
Here is something to think about, the author is right, but if you follow many ssh setup tutorials that say to move to say port 25000, you are less likely to be port scanned than the default, but still more likely than if you had used something totally random like say port 42 or 818. By me even writing this clever hackers will start scanning those ports too, just to be sure they are hitting everyone. That being said, any port is better than the standard one and picking an unused port instead of the standard ssh port will give a reasonable 80/20 benefit for a lot of people.
Re:Why Putting SSH On Another Port is a Good Idea by eslaught on Friday October 25, 2013 @11:37PM (#6616191)
Port scanning is generally automated (edit: and scans all ports, not just the handful you listed), so it doesn't actually matter which port you pick as long as it's not 22. Port scanners like nmap are widely available, so the time to actually figure out which port is running SSH is quite short in practice.

Basically, there are two classes of people:

1. Those who use port scanners.

2. Those who do not.

If you are being attacked by someone in class 1, then moving your port gives you absolutely no protection. Thus moving your port is only worth anything at all if the percentage of class 2 people is significant.

However, if you also consider the probability a person in each class has of actually compromising your machine, then the security looks less convincing. Yes, it might be true that 95% of people don't bother to use a port scanner, but the most competent hackers are almost certainly going to be in the 5% that do use one.

Re:Why Putting SSH On Another Port is a Good Idea by GhotiFish on Saturday October 26, 2013 @12:13AM (#6616308)
those numbers don't look good at when you take a look at what those two classes of people are doing.

ie. 1. is targeting you specifically, 2. is bot targeting everyone

when presented with two options, thinking of those options as 50:50 is natural, but it's really more like 0.0000001:99.9999999

Re:Why Putting SSH On Another Port is a Good Idea by marcosdumay on Saturday October 26, 2013 @09:24PM (#6620343)
Anyway, those 0.999999 that don't scan the ports are doing lame attempts of guessing the password of your box, while the 0.000001 is doing that, but also trying new exploits that have a chance of working.

As a consequence, the chance of one of those 0.999999 bots invading your computer is zero, the chance of one of the 0.000001 doing the same is non-zero.

Re:Why Putting SSH On Another Port is a Good Idea by mjhall on Saturday October 26, 2013 @06:17AM (#6616917)
A bot doesn't necessarily only scan port 22 in a range - nothing stops the bot herder making it scan 1-1024 instead.
Re:Why Putting SSH On Another Port is a Good Idea by riobard on Saturday October 26, 2013 @10:46AM (#6617543)
Yes there is. It's called economics.
Re:Why Putting SSH On Another Port is a Good Idea by wildgift on Saturday October 26, 2013 @12:21AM (#6616322)
Who is going to bother with a portscanner when there are plenty of targets on port 22. The targets on other ports are more likely to have been set to use keys, or at least have better passwords.
Re:Why Putting SSH On Another Port is a Good Idea by marcosdumay on Saturday October 26, 2013 @09:26PM (#6620354)
When you set the system to use keys, all those attempts at accessing just don't happen, and the log does not get polluted. Since the log pollution is the main complaint of people that change the port, I think you are wrong.
Re:Why Putting SSH On Another Port is a Good Idea by mkmkmmmmm on Saturday October 26, 2013 @02:22AM (#6616585)
If you want to defend against port scanning just open some honeyports that ban all connectors. Maybe randomize these every X hours.
Re:Why Putting SSH On Another Port is a Good Idea by bcoates on Saturday October 26, 2013 @03:04AM (#6616648)
There are indirect scanning techniques that induce and measure traffic from ordinary non-compromised hosts. When the attacker notices that he gets banned for scanning he'll do that.

http://nmap.org/book/idlescan.html but IIRC there are more ways than this to do it.