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
AI Thread Summary
To SSH into a Mac Mini server from outside the local network, port forwarding must be configured on the router. This involves directing traffic on port 22, which is the default port for SSH, to the Mac Mini's internal IP address. Enabling Remote Sharing alone does not allow external access; proper router settings are essential for remote SSH connectivity.
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
 
Computer science 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.
 
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top