How Can I SSH into My Mac Mini Server from Outside My Network?

  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Outside
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 5K views
natski
Messages
262
Reaction score
2
Hi all,

I have never had a server OS before but just got myself a new mac mini server with Lion server installed. The point of this was so I could ssh my machine from work and access my files from wherever I am. Sadly, I seem to be only able to ssh my machine when I am on the same wireless network. How do I ssh my machine from outside this network?

The thing I tried was turning on Remote Sharing which gave me an IP address to ssh, but this does not work when I am outside the network.

Thanks for any help and sorry if this appears as a grossly newb question,

Natski
 
Physics news on Phys.org
Sounds like you need to do port forwarding on your router to send the traffic directed to port 22 (the default for SSH) to the router, to the same port on the machine running the SSH server.