how to connect to a remote computer, part 2
this post continues a post written last feb 28th in which i discussed using SSH and VNC to connect to remote computers.
recently, in succession, i figured out how to (1) run an internet-accessible web server on my linux box connected via a normal cable-modem like that you might have at your house, (2) run SSH on this box in the same way so that i could actually go into the file system and alter web pages or even restart the web server, (3) connect to my linux box from outside the local network using VNC, and (4) connect to the linux box using VNC through an SSH tunnel.
this last item has been something i have been meaning to figure out for almost two years. VNC lets you connect to your computer's desktop but is not encrypted over the network. by "tunneling" it through the SSH protocol, encryption is acheived and thus more security.
ubuntu comes loaded with vino which is vnc for the gnome desktop and this is what i used. principally, i would use this setup when i have a need to connect to my personal laptop running ubuntu linux, ssh, and vnc server from a machine at work or anywhere else in the world that has both ssh and vnc-viewer installed. admittedly, this will be a rare occasion and it would be wasteful to run my laptop all day long if it was not for some special reason.
the details:
LOCAL MACHINE (server) is running ssh and vnc (vino).
REMOTE MACHINE opens an SSH secure shell window and connects to the server.
create a new profile setting-> tunneling: outgoing, add, name it, TCP, 5900 as the listening and destination port number, and "localhost" as the destination host.
REMOTE MACHINE opens vnc-viewer and connects to "localhost:0".
this should open up a view of your server's desktop.
recently, in succession, i figured out how to (1) run an internet-accessible web server on my linux box connected via a normal cable-modem like that you might have at your house, (2) run SSH on this box in the same way so that i could actually go into the file system and alter web pages or even restart the web server, (3) connect to my linux box from outside the local network using VNC, and (4) connect to the linux box using VNC through an SSH tunnel.
this last item has been something i have been meaning to figure out for almost two years. VNC lets you connect to your computer's desktop but is not encrypted over the network. by "tunneling" it through the SSH protocol, encryption is acheived and thus more security.
ubuntu comes loaded with vino which is vnc for the gnome desktop and this is what i used. principally, i would use this setup when i have a need to connect to my personal laptop running ubuntu linux, ssh, and vnc server from a machine at work or anywhere else in the world that has both ssh and vnc-viewer installed. admittedly, this will be a rare occasion and it would be wasteful to run my laptop all day long if it was not for some special reason.
the details:
LOCAL MACHINE (server) is running ssh and vnc (vino).
REMOTE MACHINE opens an SSH secure shell window and connects to the server.
create a new profile setting-> tunneling: outgoing, add, name it, TCP, 5900 as the listening and destination port number, and "localhost" as the destination host.
REMOTE MACHINE opens vnc-viewer and connects to "localhost:0".
this should open up a view of your server's desktop.
2 Comments:
At 8:03 PM ,
POPPA said...
I betcha you're miles beyond our techie!!!
At 1:55 PM ,
huitzilopochtli said...
that could be
Post a Comment
Subscribe to Post Comments [Atom]
<< Home