Ssh – What it the min/max port range for SSH

sshtcp

I want to change my ssh port from 22 to something else. What is the port range I can change it to? Also, I don't want it to conflict with other apps that use common ports. What ports should I avoid?

Best Answer

You can check what local ports are in use currently to avoid a conflict with:

#netstat -taulpn