Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Remote Login - How is it done?

I have a MacBook Pro and I want to log into my iMac back at my office from various locations where I will be traveling. I don't need to see my desktop, just be able to access the drives and transfer files from one system to the other. Both systems have the latest version of Leopard.

I know you can select "Remote Login" as an option in the Sharing section of system settings, but I don't know where to go from there. I see other posts listing using "SMB" and other arcane terms. I have no idea what these are.

An address is listed in the Sharing/Remote Login window, but it is a local network address. How do I then login to the system from outside my LAN and with what?

Is this what I need to do and use to access my drives remotely? Is there another way to do it (without having to buy more software)?

Thanks.

MacBook Pro & iMac, Mac OS X (10.5.5)

Posted on Nov 3, 2008 1:10 PM

Reply
12 replies

Nov 3, 2008 1:25 PM in response to kb8wfh

On the Mac, you just need to enable Remote Login (SSH, if you need it) and Personal Files under the Sharing menu. Make sure that these are allowed in the firewall.

Getting external access is the tricky part. You need to configure your router with either UPnP or NAT Port Mapping. For SSH, the port is 22, so you need to point your router to the IP of your iMac on port 22 (the iMac should have a static IP). There are two ports here, 22 for SSH, and the public port, which is what you use. For the public, use any port above 1023, as 1-1023 are reserved.

To get to your iMac, you should sign up with DynDNS.org. When done with DynDNS.org and the client install, make sure it is working.

Now, to access the iMac via SSH, type in dyndnshostname:publicport in Terminal as the SSH address.

Repeat this for each service (the DynDNS does NOT need to be reconfigured).

Nov 3, 2008 2:22 PM in response to Community User

To have a fixed IP from the internet you can use No-IP.

No-IP is a nice service that you choose a name like "macwiz" and when you will end up with (for example) macwiz.no-ip.com, a point to your router at home, from there, just follow the macwiz1220 suggest.

You will need to install a small program that will upload your external IP into this service, so, even if you have a dynamic IP (like xDSL) you will have always your home router access using the DNS name that you choose.

Nov 6, 2008 5:29 PM in response to thebigg123

Ok this is basically what I also want to do but I am accessing a white macbook from a black macbook via the internet.

On the white macbook I want to access, I have allowed "personal file sharing" and "remote login" and the firewall has them open too.

The part I don't get is what you described here;

"For SSH, the port is 22, so you need to point your router to the IP of your iMac on port 22 (the iMac should have a static IP). There are two ports here, 22 for SSH, and the public port, which is what you use. For the public, use any port above 1023, as 1-1023 are reserved."

How do I do that for the white macbook. This white macbook accesses the internet through a Siemens Speedstream 6520 wireless ADSL gateway. How do I open these ports you described on this router?

Thanks for any help!

Nov 6, 2008 9:21 PM in response to kb8wfh

It sounds like you've not used the terminal much, if at all. As such, do not try using SSH for now. The "Remote Login" option requires you to log in with the "SSH" (Secure SHell), which gives you command-line access to your computer. It sounds like you want to do remote desktop "Screen Sharing", which is very much possible, but you'll need to either have a static IP address that you can manually enter into a remote computer's screen sharing client application, or some dynamic DNS service such as the "No-IP" one mentioned above, which keeps you from having to look up your IP address before you leave your computer.

Alternately there's the "Back to My Mac" service available by Apple, which does a pretty good job of providing a seamless persistent connection to your computer from any remote location.

Nov 8, 2008 6:44 AM in response to Topher Kessler

Somebody else recommended "Chicken on the VNC". Which do you think is better? I haven't yet opened the ports on the router of the computer I am connecting to, but I already tried connecting through terminal and it eventually timed on, obviously because that port isn't open.

Once I open port 22, and if I tried the terminal thing again, what would be risky about a newbie using Terminal? I have used it a little before but I don't really understand it too much. I previously flashed the CD Rom on my old mac through terminal.

Once connected with SSH through terminal, would the other computer come up on finder?

Nov 8, 2008 8:58 AM in response to blakegeee

OS X's built-in "Screen Sharing" application should work just fine, and if you decide to go with Apple's MobileMe solutions and use the "Back to My Mac" service, then it will be the most compatible option. However, if you do it manually then both "Screen Sharing" and another third-party client will work. The address to use would be "vnc://ip_address" where the ip_address is either your computer's ip (or the router's ip, as long as you have port forwarding enabled for port 5900 -- used for VNC), or the computer's name as long as you're on the local network.

An alternative to using port forwarding would be to use the SSH tunnel to establish a connection to your computer, but even this would require you to have port forwarding on your router for port 22 (SSH port). This is a more secure connection since SSH would provide encryption to the connection, but it's not necessary and might be more of a hassle to get things started.

To activate the "Screen Sharing" application, enter the VNC address into the finder's "Connect to Server..." option that's available in the "Go" menu. For Chicken of the VNC or other VNC clients, reference their documentation for how to connect.

Remote Login - How is it done?

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