Skip to content

Instantly share code, notes, and snippets.

Created May 3, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4dacff4cf94d1dbc5d7b to your computer and use it in GitHub Desktop.
Save anonymous/4dacff4cf94d1dbc5d7b to your computer and use it in GitHub Desktop.
GistPaster
+ ssvnc_cmd -ssh nemo@192.168.2.19:0 -noraiseonbeep -encodings copyrect tight zrle zlib hextile
SSVNC_LIM_ACCEPT_PRELOAD=/usr/lib/ssvnc/./lim_accept.so
Testing ssh lim_accept preload:
OpenSSH_6.7p1 Ubuntu-5ubuntu1, OpenSSL 1.0.1f 6 Jan 2014
Running ssh:
env LD_PRELOAD=/usr/lib/ssvnc/./lim_accept.so ssh -x -x -f -t -C -L 5930:localhost:5900 "nemo@192.168.2.19" "sleep 15"
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh_pid='17310'
Running viewer:
vncviewer -noraiseonbeep -encodings copyrect tight zrle zlib hextile -encodings copyrect tight zrle zlib hextile localhost:30
Proto: RFB 003.008
Connected to RFB server, using protocol version 3.8
SelectSecurityType:
vncviewer: VNC server closed connection
Security-Type: 0 (rfbSecTypeInvalid) Latency: 0.00 ms
2015/05/03 19:26:50 VNC Viewer exiting.
vncviewer command failed: 0
Terminating background ssh process
kill -TERM 17310
+ set +xv
Done. You Can X-out or Ctrl-C this Terminal if you like. Use Ctrl-\ to pause.
sleep 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment