News for hackers. Stuff that matters.
Re:There's No Protection In High Ports by mistercow on Sunday February 17, 2013 @02:13PM (#5236281)
>obscuring your login service via non-standard ports or even a requirement to try several ports in sequence really only buys you security equivalent to lengthening your password by two characters per port.

Not even that. It's like a separate two-byte password because you get to guess and confirm the port separately from the password.

Lengthening your password by N bits multiplies the number of necessary guesses by 2^N. Having a separate N bit password adds 2^N to the number of of necessary guesses. So if your real password's effective key length is more than 16 bits, using a random port effectively adds less than 1 bit of entropy.

Also, rate-limiting port scans is way harder to do than rate-limiting authentication.

Re:There's No Protection In High Ports by cpressey on Sunday February 17, 2013 @05:28PM (#5237004)
It occurred to me that if you want to multiply the number of necessary guesses by running sshd on an alternate port, you'd need to run multiple sshds. (Of course all but one of these sshds should be decoys.) Doubling the number of sshds is then like adding one bit to the password.
Re:There's No Protection In High Ports by cynwoody on Sunday February 17, 2013 @06:54PM (#5237338)
The likely result of that would be that a smart hacker would cross you off his IP list upon discovering you are running a bunch of sshds. After all, if you are devious enough to do that, it's unlikely your real sshd will fall to his script in any case. You are a waste of bandwidth better spent chasing low-hanging fruit.
Re:There's No Protection In High Ports by xyzzy123 on Sunday February 17, 2013 @06:26PM (#5237216)
I'm not sure I completely understand you, but I think the original author was referring to: https://help.ubuntu.com/community/PortKnocking
Re:There's No Protection In High Ports by lflux on Sunday February 17, 2013 @05:23PM (#5236983)
You shouldn't be using passwords anyway, you should be using key-based authentication.
Re:There's No Protection In High Ports by martinced on Sunday February 17, 2013 @06:13PM (#5237164)
Which is better: to have someone hack into your machine and install a keylogger and wait for you to connect to your servers using SSH to get your passwords or someone hacking into your machine and stealing immediately the private keys!?
Re:There's No Protection In High Ports by lflux on Sunday February 17, 2013 @06:22PM (#5237201)
Why would you have private keys on the server? Those are passphrase-protected on your laptop/workstation.