Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-16-2012, 12:22 PM   #1
LQ Newbie
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
Guidance on how to set up openssh and vnc between ubuntu 12.04 and windows 7


I have a workstation with Ubuntu 12.04 64bit and a laptop with windows 7 Ultimate 64bit. I would like to connect from my windows laptop to my ubuntu workstation remotely. I hear VNC with OpenSSH is my best bet. Port forwarding I can set up, I need help with configuring openshh on both ubuntu and windows so i can then connect with vnc securely.

I do not ask for a complete guide here, I know that is a lot of typing, but at least guide me to the correct path that will help me accomplish this. Also, If you have a better way of connecting remotely other than VNC please feel free to post it.

Old 06-20-2012, 04:21 AM   #2
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
you mention windows client and connecting from outside network, for this situation i would use putty ssh client using keys as authorization. SSH traffic is normaly incrypted but extra layer of security is always a plus. VNC is fine for the purpose.
Old 06-20-2012, 04:45 AM   #3
LQ Newbie
Registered: Jun 2011
Location: Tehran, Iran
Distribution: Centos, Debian, Freebsd
Posts: 24

Rep: Reputation: Disabled
in server (ubuntu/debian):
# sudo apt-get -y install openssh chkconfig
# chkconfig sshd on
# sudo /etc/init.d/ssh start
you can configure it by (restart it after edit)
# sudo vim /etc/ssh/sshd_config

in client (win7)
download binary installable package of putty from its web site and install it.
enter ip or dns name of it.

for vnc:
install vino-prefrences and configure it

in client (windows) tightvnc or realvnc (free edition)

Last edited by iashkan; 06-20-2012 at 04:47 AM. Reason: forget vnc
Old 06-21-2012, 09:41 AM   #4
LQ Newbie
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Got it!

Thanks rizzy. Lots of good information. It took me a while to set it up how I want it but all good now. Thanks!


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
Ultra VNC On Windows Laptop connecting to Ubuntu 8.04 gazz777 Linux - Newbie 5 05-24-2009 06:03 AM
VNC: Connecting from Windows to Ubuntu not working Micro420 Ubuntu 2 06-08-2007 05:35 PM
openssh & vnc (secure remote access) O(V)eGA_l2el) Fedora 1 10-18-2006 05:08 AM
tunnel vnc through openssh disorderly Linux - Security 9 08-22-2005 02:56 PM
VNC Server (on Ubuntu) Client on Windows sim2k Linux - Networking 10 02-10-2005 03:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:40 AM.

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
Open Source Consulting | Domain Registration