Control Your Mac from Afar
Subject:   VNC via SSH
Date:   2003-09-28 10:52:10
From:   anonymous2
Response to: VNC via SSH

Here's another, perhaps easier way:

Type in terminal this one line, for VNC thru SSH:

ssh user@ -L 15901:localhost:5901

then open vnc and connect to localhost:5901


and reverse SSH tunelling, open from inside then connect from outside back in

ssh -l user -R 15902: sleep 900000

check out: