Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-18-2004, 09:29 PM   #1
Registered: May 2004
Posts: 86

Rep: Reputation: 15
tightvnc using ssh tunnelling

i got TightVNC working on my box using this HOWTO

everything is working except for the last part, where the author explains how to use ssh tunnelling to add encryption to the TightVNC session

he says:

You can/should use ssh (or other encryption) as tightvnc does not encrypt the connection (major security risk).

You can make a secure ssh tunnel for your vnc connection between client port 4961 and server port 5916:

ssh -C -L 4961:localhost:5961

You will be asked for your home password. This makes an encrypted connection between and localhost:4961.

Add you@ in front of the domain (ssh -C -L 4961:localhost:5961 to use a different username on the server.

Now, on the client, start a vncviewer and connect:

vncviewer -encodings "tight copyrect" -quality 3 localhost:4961
i guess this just isn't verbose enough for me, as i'm still enough and have never used ssh beyond the basics of using it to get a command prompt on a remote server. what does the "ssh -C -L 4961:localhost:5961" command do, and should i issue that on the client or server? what ports do i have to open on the VNC server? if the client in Windows, can this still be done, how? what port do i tell the client to connect to?


~ Justin
Old 08-18-2004, 09:40 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Search ....

None of those of any help?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tunnelling yahoo messenger through SSH pnellesen Linux - Networking 1 09-17-2005 06:37 PM
ssh tunnelling internet access bfkeats Linux - Networking 2 03-19-2004 03:13 PM
SSHvnc, tightVNC, SSH, and apache Apollo77 Linux - Software 19 01-06-2004 02:09 PM
Starting SSH Reverse tunnelling at boot BU5T4 Linux - Software 2 11-18-2003 03:33 PM
Advantages in SSH tunnelling for net access?? Nerd2 Linux - Software 9 06-16-2003 04:13 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration