i have airport extreme router , have enabled ssh sharing in system preferences. when go airport utility-->network-->port mapping, , 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 ssh no problem. however, if want use non-standard port (i've tried several different port numbers), 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
, ssh using ssh -p 2222 ...
get: ssh: connect host ... port 2222: connection refused
doing wrong?
you either need have sshd listen new port 2222,
or, use standard port 22 private ports
Forums Macs macOS Older OS X Versions Mac OS X Lion (10.7)
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment