Re:Obscurity: Does Changing Your SSH Port Lower Your Risk?
by njharman on Friday February 18, 2011 @02:44PM
(#2236918)
> Port obscurity is pointless when there's much better ways to secure your host.
Good security is layered. This reduces attacks. Reducing attacks is better. Changing port is better than not changing port.
And most people posting here obviously didn't read the article because it clearly stated this was in addition to all the other security measures you put into ssh.
Re:Obscurity: Does Changing Your SSH Port Lower Your Risk?
by jwatzman on Friday February 18, 2011 @01:33PM
(#2236608)
Source IP filters really slow you down
Can you elaborate on this or provide a reference? I've never heard this before and am curious what the implications of various iptables filters are.
You should be running SSH with keys only, never with password authentication. Passwords are for encrypting your keys on your local machine and for sudo which is restricted to specific accounts. Source IP filters really slow you down, but may work in some circumstances.
As your network gets larger you'll need to restrict any inbound SSH and use a VPN to a firewall or bastion host and use something like puppet to distribute your ssh keys. Make sure you do two factor auth to the VPN with a password and at least some sort of key.