Remote Access to Mac mini using Terminal on Macbook Pro Sonoma OS not working

I have a new Macmini which I have left at my brother's house in Italy and I am trying to access it from the UK. I have set up the sharing options to allow me to log in remotely.


Using Terminal on the Macbook Pro I type "ssh username@IPaddress" but I get the message "port 22: Operation timed out"


WHat have I done wrong?


[Re-Titled by Moderator]


Posted on Oct 11, 2023 1:36 AM

Reply

Similar questions

2 replies

Oct 11, 2023 9:38 PM in response to Bathgate Bairn56

Did you set up your router so that you can ssh to its external, globally-unique IP address, at some well-defined port number, and have the incoming ssh requests sent to your Mac on the standard SSH port (port 22)?


Your Mac's IP address is probably a NON-globally-unique local address in the 192.168.0.something range. Trying to ssh to that address from outside your LAN is like trying to send a letter to "SMITH, somewhere in the U.S." from ten states away. The Post Office has no way to know which of the many SMITHs you mean. Likewise, while you are on the road, that 192.168.0.something address that you think belongs to your Mac will connect you to another machine – if it connects you to any machine at all.


Is that it, or is there some other issue?

Oct 11, 2023 10:02 PM in response to Bathgate Bairn56

Bathgate Bairn56 Said:

"Remote Access to Mac mini using Terminal on Macbook Pro Sonoma OS not working: I have a new Macmini which I have left at my brother's house in Italy and I am trying to access it from the UK. I have set up the sharing options to allow me to log in remotely. Using Terminal on the Macbook Pro I type 'ssh username@IPaddress' but I get the message 'port 22: Operation timed out' WHat have I done wrong?"

-------


Are you using a VPN? If so, disable it.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Remote Access to Mac mini using Terminal on Macbook Pro Sonoma OS not working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.