LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 15
tightvnc using ssh tunnelling


i got TightVNC working on my box using this HOWTO

http://linuxreviews.org/howtos/xvnc/

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:

Quote:
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 my.dns-name.com

You will be asked for your home password. This makes an encrypted connection between my.dyndns-name.com:5961 and localhost:4961.

Add you@ in front of the domain (ssh -C -L 4961:localhost:5961 username@my.dns-name.com) 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 my.dns-name.com" 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?

thanks,

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

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Search ....

None of those of any help?


Cheers,
Tink
 
  


Reply


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


All times are GMT -5. The time now is 06:35 AM.

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