I have this server that is configured to use another port instead of 22 for ssh,
How may I figure out which port number it is?
Thanks for any ideas!
|
feedback
|
|
Assuming you don't have access to command line (otherwise you would already know what the port number was), you can do a port scan to try and identify which port the SSH service is running on. I would suggest running nmap. There's no guarantee though that it will find it. | |||||
feedback
|
|
Run This will give you output that looks something like:
If it still doesn't find the port, run | |||
|
feedback
|
|
If you have access to the commandline, and read access to /etc/ssh/sshd_config, run
| |||
|
feedback
|