ML wrote:
HI All,
With my new firewall in place, it has opened my eyes to how much traffic gets blocked in a single day and also what are the most active rules. I get *a lot* of requests for port 22.
How does one switch ssh ports? What is a good port to use? What ramifications does it have when I need to ssh in? Is it as simple as ssh user@hots:port?
Perhaps the first thing I do on a new server is:
vi /etc/ssh/sshd_config
And uncomment the port line, change the port number to my favorite port number, save the file, then restart sshd.
I much perfer this method to setting up port limiting runs in iptables and ip6tables.