D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Why you should not have ssh on port 22.

 

On Tue, Feb 10, 2015 at 09:28:20PM +0300, simon@xxxxxxxxxxxxxx wrote:
> Root port issue is a bit of a red herring.
> 
> You identify SSH servers by the server fingerprint, if this has changed either
> it's been reinstalled or hacked. This applies whichever port it runs on.

Indeed. SSH's private keys are readable by root only, so if an attacker
has a) access to the machine running sshd and b) is able to stop/crash
the sshd daemon, they still can't intercept traffic without raising
serious suspicion.

As others have said before, security by obscurity has its time and
place, but running sshd on a non-standard port is rarely ever a good
idea.

Martijn.


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq