On 1/24/2025 12:03 PM, Chris Adams wrote:
Once upon a time, Lester Petrie lmpetrie@bellsouth.net said:
I have a NAS I wish to change the ssh port from 22 to something else. How do I go about selecting a good port number?
If it's IPv4 and exposed to the Internet, moving to a different port isn't really doesn't do much to secure it; it's not all that hard to scan for SSH on any port (and people do, and it will be found). If it's not exposed... why move it? It just makes an extra hassle when connecting.
Basically, moving known services to alternate ports is rarely a good or useful idea.
I am pretty sure my router is blocking the access, but it records the attempts in its log. Probably 98-99 percent of the log is these attempts. I want to see what happens to the log if I change the port. Since I am the only one who should be accessing the NAS with ssh, and that is very rarely, I don't mind the extra hassle.