Connecting to M3 using SSH

Linux and OS X Users

The process for both Linux and OS X users is similar, however Mac users may need to take some additional steps.

  1. To connect to M3, Linux and OS X users need to start a terminal session

    • OS X users: Go to Finder > Applications > Utilities > select

  2. Once you have launched a terminal session, execute either one of the following commands:

    • ssh -l username

    • ssh

  3. Enter your password

  4. You will be directed to the login node.

    • If this is the first time that you have logged into M3, you will be asked if you wish to accept the host key of the node you are connecting to. This is an identifier for the login node. Enter yes at the prompt. The login node’s credentials will be stored on the machine you are using, so you will not be asked to accept the host key again on subsequent logins using the same machine

X11 port forwarding

To enable X11 port forwarding the -Y or -X flag is required when you use the ssh command, depending upon which version of ssh you have installed on your system, e.g. ssh -l username -Y

Note: To test that the session supports port forwarding, use the xclock or xeyes command.

Note for OS X users: To enable X11 port forwarding using OS X 10.4 and above you need to install the XQuartz application, as X11 is no longer shipped with OS X.

Windows users

PuTTY is recommended for Windows users and can be downloaded from the chiark PuTTY download site. Note: if you are connected to the Monash network, you must download the zip file and not the exe file.

If you have any questions, contact the MASSIVE helpdesk