meta data for this page
  •  

This is an old revision of the document!


How to use SSH on Windows

Using MobaXterm

  1. Download the zip file from the mail you received.
  2. Unpack zip file to a place that you will find again. It contains the openssh key, a .pub document and a textfile with the password you will need later
  3. Download the MobaXterm installer here and follow its instructions
  4. Start MobaXterm with the Desktop shortcut or from your startbar
  5. At the 'Find existing session or server name' prompt enter YourUserName@141.2.46.150 1)
  6. Click on new session
  7. Select SSH as the connection type
  8. Click on the advanced settings register
  9. Check the 'Use private key' box and use the little file icon to browse to your openssh key
  10. Click on okay and enter the password from the folder with the ssh key. (Anything you type or paste here will not be visible for safety reasons. Just press enter after you typed the password or alternatively paste the password by right-clicking into the terminal one time).
  11. Now you are inside of your home directory inside our computer environment. You can navigate through here using the bash commands you learned in the bootcamp
  12. You can open new registers any time to browse your local computer in a linux environment
  13. paths of your windows environment should follow the pattern
    /mnt/c/Users/name/Desktop/
  14. When you open MobaXterm the next time, you can use the existing session for easy access

IMPORTANT: After you were granted access to our computer system, you should see a terminal displaying something like this:

username@gateway:~$ 

The id left of the “@” is your username (see above), and the name to the right to the “@” identifies the computer you have connected to. The initial ssh will always bring you to our “gateway”.

The “gateway” is doing exactly what its name says, it just serves as a gateway and is not meant for computations. Therefore, you need to open a second ssh connection that brings you to the computers in our student pool room. You should have received a computer name via email or slack. If you did not get one, let us know! You can access this computer by typing:

ssh pool??

You should see something like this:

username@pool??:~$

Be sure to change the question marks to the digits from the identifier you received via email/slack. Now, all computations will run with the hardware of our computer environment (and not from your home PC).

Also, check out this video about the usage of mobaXterm .

1)
the syntax username@IP-Address is the standard format when connecting to a remote server. Your username tells the server who is asking for access, and the IP address tells the ssh client to which server you want to connect to