Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] VNC over SSH (VNC session is non-local to SSH)
Date: Tue, 10 Oct 2006 17:22:01
Message-Id: 7573e9640610101013l751c2da7wa2fb303727fb1db@mail.gmail.com
In Reply to: [gentoo-user] VNC over SSH (VNC session is non-local to SSH) by Mark Shields
1 On 10/10/06, Mark Shields <laebshade@×××××.com> wrote:
2 > I have a gentoo box setup as a router with 3 servers behind it (all 4
3 > servers are running gentoo). Right now I simply have port 5901 to forward
4 > from the router to my vnc server so I can access it remotely. I've looked
5 > on the gentoo forums and online but haven't been able to find any solid
6 > information on how to tunnel 5901 through ssh through the router to the vnc
7 > server. Basically, client -> router -> vnc server port 5901, but over ssh.
8 > Any ideas?
9
10 You want ssh port forwarding....you can read the ssh man page, but
11 basically you want:
12
13 # ssh -L localhost:5901:remotehost:5901 &
14 # vncviewer localhost:5901
15
16 HTH,
17 -Richard
18 --
19 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] VNC over SSH (VNC session is non-local to SSH) Mark Shields <laebshade@×××××.com>