LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Guidance on how to set up openssh and vnc between ubuntu 12.04 and windows 7 (https://www.linuxquestions.org/questions/linux-newbie-8/guidance-on-how-to-set-up-openssh-and-vnc-between-ubuntu-12-04-and-windows-7-a-4175411814/)

atkol29a 06-16-2012 12:22 PM

Guidance on how to set up openssh and vnc between ubuntu 12.04 and windows 7
 
Hello,

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.

Thanks!

rizzy 06-20-2012 04:21 AM

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.
http://www.howtoforge.com/how-to-con...-5-quick-steps

http://www.linux-sxs.org/networking/openssh.putty.html

iashkan 06-20-2012 04:45 AM

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)

atkol29a 06-21-2012 09:41 AM

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!


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