Accessing laptop remotely?

Discussion in 'General Mac Discussion' started by stoid, Sep 15, 2004.

  1. stoid macrumors 601


    Feb 17, 2002
    So long, and thanks for all the fish!
    I want to be able to leave my laptop in my apartment on crappy weather days so that I'm not risking carrying my PowerBook on my bike to campus. I have an always on internet connection from my apartment. I know how I would do it normally do it, but I am using an Airport Express base station and so my laptop's individual IP address is not the same as my external IP address (obvious as it's, and confirmed with

    Since I have played network games and the like at the apartment I know that it's possible for other computers to see mine. There must be a way to connect then. How do I set this up?
  2. jimsowden macrumors 68000


    Sep 6, 2003
    Not exactly sure. The remote login from terminal is ssh user@ip, but since your express is routing the ip address i wouldn't know what to tell you, other than to directly plug it into the cable modem and try to login via your assigned ip. I suppose you could also put server on it.
  3. Westside guy macrumors 601

    Westside guy

    Oct 15, 2003
    The soggy side of the Pacific NW
    It's called port forwarding (Airport Admin calls it "Port Mapping"). You just tell the Airport Express to take any connections to the port(s) you specify and send them on to your laptop's private IP space.

    From the outside, you just ssh to the external (public) IP of your Airport Express - it'll do the rest.
  4. stoid thread starter macrumors 601


    Feb 17, 2002
    So long, and thanks for all the fish!
    Thanks! Not being terrible Windows XP savvy, I'll need to access those files from the Windows XP machines on campus. How exactly would I do that if I set it for port 2981?

    edit: Might as well tell me how to do it from another Mac as well, OS X.3
  5. abhishekit macrumors 65816


    Nov 6, 2003
    akron , ohio
    ^^^ from another mac or linux box, its easy. just open the terminal and write
    ssh -l username ipaddress

    it would ask for password and log you in.

    From windows, you first have to download cygwin i think, which is a unix emulator i think. And then you have to open cygwin window and write the above command.


    edit: don't forget to enable remote login on your mac from system pref.
  6. iMeowbot macrumors G3


    Aug 30, 2003
    Never mind cygwin, you can do everything you need with PuTTY and friends. PuTTY for interactive terminal sessions, PSFTP or PSCP for file transfers. These are small enough to carry on floppies if need be. (You can specify the port number with all of these.)

Share This Page