Log in remotely and securely

Discussion in 'macOS' started by raymondh, Jul 25, 2009.

  1. raymondh macrumors newbie

    Oct 19, 2007
    Up until Friday, I had a Linux server in my office that, among other things, served as a remote login using NXServer. The thing I liked best about NXServer was that ALL of the data was sent over ssh on port 22. This meant that along with the security of ssh, I also only had to open a single port.

    The Linux server has been taken offline and everything moved to a MacPro. The only thing I don't have set up is a way to remotely log in to my network. I know I can still log in with ssh but I would like to be able to run a GUI when I log in.

    What's out there that will allow me to do this? I know about VNC and have used it in the past but it lacks the single secure port option (I believe).


  2. plinden macrumors 68040


    Apr 8, 2004
    You can use ssh tunneling.

    1. Turn on Screen sharing on your Mac.

    2. Open an ssh tunnel:
    ssh username@mac -L <somelocalport>/localhost/5900

    This means that all traffic you send to your selected <somelocalport> on your local will be routed to the Mac's 5900 port, over ssh. 5900 is the vnc/screen sharing port.

    3. Run a vnc client on your local machine and connect to your localhost:somelocalport.

Share This Page