IV How to connect remotely to a computer
GNU/Linux and MacOS
X Mac and Linux come with SSH clients that can help connecting to remote servers. However, X11
(the graphical user interface) is no longer included with OS X. X11 server and client libraries for
OS X are available from the XQuartz project (http://xquartz.macosforge.org ).
I - Login by typing
ssh -XY <userid>@<hostname> <press enter>
<remote_password> <press enter>
Windows
X Both SSH and the graphical user interface X11 are not included by default in Windows. There are
many options available but in this guide we will present how to install PuTTY. PuTTY is a free
implementation of Telnet and SSH for Windows, along with a xterm terminal emulator:
I - Download and install XMing:
http://sourceforge.net/projects/xming/
Select Multiple Windows and type the number 0 for Display number.
II - Download and install PuTTY:
https://the.earth.li/ sgtatham/putty/latest/x86/putty.exe
After you have downloaded the installer for Windows, run it, and follow through the steps.
Unless you know what you are doing, stick with the default installation options. After download
completes, you are done with the installation.
To connect to a remote server using PuTTY, provide the hostname of the remote server and
the port number on which the SSH server is listening. The default port is 22. Make sure the
connection type is ssh.
III - Configure the X11 forwarding.
Scroll to Connection > SSH > X11. Check the box next to Enable X11 Forwarding. By
default the X Display location is empty. You can enter localhost:0. The remote authentication
should be set to MIT-Magic-Cookie-1.
IV - Login to the remote server
Go back to Session. Click Open to bring up the terminal and login using your userid/password.
9