[CentOS] Running SSH on a different port
mark
m.roth at 5-cent.us
Sat Oct 24 13:42:16 UTC 2009
Stephen Wong wrote:
> Change the port statement in /etc/ssh/sshd_config and restart sshd
>
> Alternatively, you can make a port direction on your firewall, say,
> from TCP port 1234 to internal IP 22. Then, you don't need to change
> the server config.
One thing to consider: an attacker with a clue will scan your system with
something like nmap, and find whatever port you've opened for it.
Btw, you *have* made sure that only protocol 2 is enabled for ssh, right?
mark
More information about the CentOS
mailing list