(toiminnot)

hwechtla-tl: Easy ssh integration with vnc

Kierre.png

Mikä on WikiWiki?
nettipäiväkirja
koko wiki (etsi)
viime muutokset


(nettipäiväkirja 19.11.2015) Unix has had its own ways to get remote graphical sessions for who knows how long. However, the X protocol doesn't really work very well over unreliable links, is quite bandwidth intensive, and behaves badly when X clients try to use X extensions such as shared video memory.

There's VNC, which provides a decent protocol for transmitting and interacting with a remote desktop, but was developed in an era of lower security than is required today. Consequently, almost everyone uses SSH tunnelling to protect VNC connections, which requires manual setup. There's good instructions available, but I want something as straightforward as an RDP session, for which you just say 'rdesktop host'.

I made a script called sshvnc which uses ssh to query existing sessions on the remote host, set up tunnels, and run a viewer for the first VNC session found. It can optionally also create a new session. With this script, if you can say 'ssh user@host', you can also say 'sshvnc user@host'. I recommend setting up key-based authentication for SSH, however. (See SSH features everyone should use about that.)

The sshvnc script is available at: http://members.sange.fi/~atehwa/vc/prod/userland-scripts/sshvnc


kommentoi (viimeksi muutettu 19.11.2015 15:35)