I would like to SSH into my Mac from the internet. Here are some details:
- Public IP: 64.xx.xx.xx
- Mac’s Internal IP: 10.0.0.10
I have set up port forwarding in my Comcast Arris TG862 gateway as the following
- service name: mac
- server IP: 10.0.0.10
- start port: 8031
- end port: 8031
Remote Login is also enabled in the Mac’s Sharing prefs. And says the following:
To Log into this computer remotely, type "ssh [email protected]"
Which works when using another device on the LAN, but does not work when I do:
ssh -p 8031 [email protected]
On a device connecting from an external IP.
Any advice would be helpful!
ssh
usually runs on port 22, why are you forwarding to 8031?ssh
on your Mac to listen on port 8031?