Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

boardhead

macrumors newbie
Oct 3, 2007
5
0
I got this working very well with the following script:

#!/bin/sh
ssh -L 5900:localhost:5900 -N -l USER HOST &
pid=$!
sleep 1
open -W vnc://localhost
# kill the tunnel
kill $pid

(substitute USER and HOST for your user name and host name of the remote machine) For this to work, you will need to enable remote login and screen sharing on the remote machine, and set up password-less ssh to the remote machine. To set up password-less ssh, run "ssh-keygen -t rsa" on the local machine (enter a blank passphrase), then copy the output id_rsa.pub to the remote machine as ~/.ssh/authorized_keys.

The script starts the ssh tunnel then opens the screensharing app and kills the tunnel after you are done. It works great for me on High Sierra.
 
Last edited:

Tech198

Cancelled
Mar 21, 2011
15,915
2,151
It is free for 5 hours use.
Once you reach 5 hours use it will log out out and back into the remote machine every 2 mins.

I reached the limit and had to use another machine to help a friend.
It will let you extend the time a bit buy signing up, still free and no money.
Unknown how long the extension is though as just used another machine.

Great program but cost too much.

should be more than enough....If it takes 5 hours to solve a problem, then i'd be considering more experience personally :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.