Type in terminal this one line, for VNC thru SSH:
ssh email@example.com -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 22.214.171.124 -R 15902:127.0.0.1:5902 sleep 900000
© 2015, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.