Remote Desktop Between Ubuntu/Linux and Windows, Part II - page 2
Configuring Your Router
The password exchange between the VNC client and server is always encrypted, however everything after that is not. This should be fine when remoting to a local computer on a secure network. When remoting over the Internet, though, you should make sure the entire connection is encrypted. This secures everything from hackers or eavesdroppers that may intercept the traffic while its traveling the information super highway.
One way to create a secure tunnel between the client and server, for the VNC traffic to travel within, is to establish a Secure Shell (SSH) connection between them. To do this, you must install a SSH server on the computers you want to remotely access, and a SSH client on the computers you want to connect from. In some cases, you might want to just install both on each computer. On Windows PCs you can download and use freeSSHd for the server and PuTTY for the client; both are GUI based. For the Linux, machines, try OpenSSH.
Before you start trying to make SSH connections, be sure to configure your router to forward the traffic and firewalls to allow it. The default SSH port is TCP 22. If connecting via the Internet, configure a port forward or virtual server entry (like discussed earlier for the VNC traffic) for this port on the router where the remote incoming computer is located. On both the server and client computers, open the port as discussed in the previous part.
After installing the SSH server, create private and public keys, and place them in the proper place. For the SSH servers on Linux, use the OpenSSH utility to generate the keys. For Windows PCs, you can use PuTTygen. To connect from Windows to Linux, bring up PuTTy, go to the SSH Tunnel settings and input the VNC port you're wanting to use based upon the display number. Then on Session settings, enter the Linux machine's IP and click Open. On Linux machines, use the OpenSSH client, also creating a tunnel, to connect to the IP of the remote computer. Once you have a SSH connection, bring up VNC viewer as discussed in the previous part, but instead of the remote computer's IP, enter localhost.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Linux from Scratch, Ubuntu 14.01 Beta and Arch Updates