I have an Airport Extreme router and have enabled SSH sharing in system preferences. When I go to Airport Utility-->Network-->Port Mapping, and put in these settings:
Remote Login - SSH
Public UDP Ports: 22
Public TCP Ports: 22
Private IP Address: 10.0.1.5
Private UDP Ports: 22
Private TC Ports: 22
I'm able to ssh with no problem. However, if I want to use a non-standard port (I've tried several different port numbers), something like this:
Remote Login - SSH
Public UDP Ports: 2222
Public TCP Ports: 2222
Private IP Address: 10.0.1.5
Private UDP Ports: 2222
Private TC Ports: 2222
and then SSH using ssh -p 2222 ...
I get: ssh: connect to host ... port 2222: Connection refused
What am I doing wrong?
Remote Login - SSH
Public UDP Ports: 22
Public TCP Ports: 22
Private IP Address: 10.0.1.5
Private UDP Ports: 22
Private TC Ports: 22
I'm able to ssh with no problem. However, if I want to use a non-standard port (I've tried several different port numbers), something like this:
Remote Login - SSH
Public UDP Ports: 2222
Public TCP Ports: 2222
Private IP Address: 10.0.1.5
Private UDP Ports: 2222
Private TC Ports: 2222
and then SSH using ssh -p 2222 ...
I get: ssh: connect to host ... port 2222: Connection refused
What am I doing wrong?