AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Best apps for screen sharing mac os x3/20/2023 ![]() ![]() echo When you finish your VNC session, press the ENTER key in this window. I use this handy shell script to secure my vnc through a tunnel: #!/bin/sh# script to make ssh tunnel connect to vnc host specified in# first argument# W Penn - creation# W Penn - command arguments added converted for vnc# some dude named ward - process management added#LOCAL_PORT=5902 TARGET_HOST=127.0.0.1 TARGET_PORT=5900 TUNNEL_HOST="$1" echo "opening tunnel" ssh -L $LOCAL_PORT:$TARGET_HOST:$TARGET_PORT -f -N $TUNNEL_HOST echo "Local port $LOCAL_PORT used" echo "opening vnc client" open -a /Applications/JollyFastVNC.app/ clear TUN=`lsof -i:$LOCAL_PORT -Fp | head -1| sed s/p//` echo IMPORTANT: Leave this Terminal window open during your VNC session. ![]()
0 Comments
Read More
Leave a Reply. |