meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general:computerenvironment:ssh_windows [2020/04/20 10:03] – [Using MobaXterm (recommended)] felixgeneral:computerenvironment:ssh_windows [2022/02/25 12:24] (current) – [Accessing the ApplBio Computer system] ingo
Line 1: Line 1:
 ====== How to use SSH on Windows ======= ====== How to use SSH on Windows =======
  
-===== Using MobaXterm (recommended) =====+===== Using MobaXterm =====
  
-   - Download the zip file from the mail you received.+   - Download the zip file from the mail you received. 
    - 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    - 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
    - Download the MobaXterm installer [[https://mobaxterm.mobatek.net/download-home-edition.html|here]] and follow its instructions    - Download the MobaXterm installer [[https://mobaxterm.mobatek.net/download-home-edition.html|here]] and follow its instructions
    - Start MobaXterm with the Desktop shortcut or from your startbar    - Start MobaXterm with the Desktop shortcut or from your startbar
-   - At the 'Find existing session or server name' prompt enter mbwt??@141.2.46.150 (everyone has to use different identifier after the mbwt part!! Check the identifier we appended to your student area to see which one you should use)+   - At the 'Find existing session or server name' prompt enter YourUserName@IP-Address ((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. <wrap important>Adjust the IP address to point at the computer you want to access</wrap>. If you want to access the ApplBio system, use 141.2.46.150))
    - Click on new session    - Click on new session
    - Select SSH as the connection type    - Select SSH as the connection type
    - Click on the advanced settings register    - Click on the advanced settings register
    - Check the 'Use private key' box and use the little file icon to browse to your openssh key    - Check the 'Use private key' box and use the little file icon to browse to your openssh key
-   - 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).+   - 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).
    - 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    - 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
    - You can open new registers any time to browse your local computer in a linux environment    - You can open new registers any time to browse your local computer in a linux environment
Line 22: Line 22:
    - When you open MobaXterm the next time, you can use the existing session for easy access    - When you open MobaXterm the next time, you can use the existing session for easy access
  
-**IMPORTANT:** After you gained access to our computer system, you should see a terminal displaying something like this:+===== Accessing the ApplBio Computer system ===== 
 +Continue reading only if you attempt to access the ApplBio system via the IP-Address <fc blue>141.2.46.150</fc> 
 + 
 +**IMPORTANT:** After you were granted access to our computer system, you should see a terminal displaying something like this:
 <code> <code>
-mbwt21@gateway:~$ +username@gateway:~$ 
 </code> </code>
-Since we don't want to use the general @gateway environment for any computations, we need to access the computers in our student pool room. You should have received a computer name via email. You can access this computer by typing:+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. <wrap important></wrap> The initial ssh will always bring you to our "gateway". 
 + 
 +<wrap important></wrap>The "gateway" is doing exactly what its name says, it just serves as a gateway and is not meant for computations. Thereforeyou 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 slackIf you did not get one, let us know! You can access this computer by typing:
 <code> <code>
 ssh pool?? ssh pool??
Line 32: Line 37:
 You should see something like this: You should see something like this:
 <code> <code>
-mbwt21@pool??:~$+username@pool??:~$
 </code> </code>
-Be sure to change the question marks to the digits from the identifier you received via email. Now, all computations will run with the hardware of our computer environment (and not from your home PC)+<wrap important>Be sure to change the question marks to the digits from the identifier you received via email/slack.</wrap> Now, all computations will run with the hardware of our computer environment (and not from your home PC).
- +
-===== Using putty ===== +
- +
-   - Download the zip file from the mail you received. +
-   - 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 +
-   - Download the putty installer from [[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html|here]] +
-   - Install putty  +
-   - Start puttyGen from your startbar and[[https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/|convert the openssh key]]. Copy your password from the unzipped folder when asked for it and save the putty key as id_rsa.ppk in a location you will find again +
-   - Start putty from your startbar +
-   - In the window that opens, go to Connection > SSH > Auth and browse to the key you generated called id_rsa.ppk ([[https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/#copy-public-key-to-server|HowTo]]) +
-   - Back at the Session register, put as Host/IP: mbwt01@141.2.46.150 (everyone must use a different identifier after the mbwt part!). Log in using the password from the unzipped folder and voilà you are now in your own home office which you will use for your analyses.+
  
  
 +Also, check out [[https://youtu.be/5vnEw9WcaTM|this video]] about the usage of mobaXterm
 +.