User Tools

Site Tools


cluster:logging_on

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
cluster:logging_on [2019/08/06 18:27] schroedercluster:logging_on [2023/10/12 18:45] (current) mcloughlin
Line 1: Line 1:
-======Logging in to a Linux server from your Windows machine====== +======Logging in to the Cluster======
-To connect to a Linux server, you will need to install a [[http://en.wikipedia.org/wiki/Secure_Shell Secure Shell|Secure Shell]] client. For Windows systems, a good client is [[http://www.chiark.greenend.org.uk/~sgtatham/putty/|PuTTY]].  Mac and Linux systems should have a Secure Shell client installed which can be used with the ''ssh'' command in a [[cluster:getting_started|terminal window]].  You can find a comparison of SSH clients on [[http://en.wikipedia.org/wiki/Comparison_of_SSH_clients| this Wikipedia page]].+
  
-=====Connecting to The Cluster=====+=====Windows 10/11=====
  
-The Economics Department Cluster is located at cluster.econ.umd.edu.  +Starting with Windows 10, Powershell (and Windows Terminal if you are using Windows 11) has SSH functionality built-inOpen Powershell/Terminal, and type the following: 
  
-{{wiki:putty.png}} (an image of the putty user interface)+<code>ssh [your username]@cluster.econ.umd.edu</code>
  
 +You will then be prompted to enter your password. (NOTE: You will not see any input while entering your password).
  
 +=====MacOS=====
  
-To connect to the Cluster on Windows, open PuTTY and do the following: +MacOS has SSH functionality built in to its terminal applicationOpen the Terminal, and type
-  - Click on "Session" on the left hand side +
-  - Under "Host Name" enter "cluster.econ.umd.edu" +
-  - Choose "SSH" for the "Connection Type" (ensure the port is now set to 22) +
-  - If this is your first time logging into the cluster, you will get a warning that the server's host key is not cachedThis is OK, since we don't really think anyone malicious is pretending to be the cluster. Click "Accept". Your PuTTY window (if you're using PuTTY) should look about like the image above. +
-  - You will be prompted for a username. Enter your Cluster username from your initial email and press Enter. +
-  - You will then be prompted for your password. If you have not reset itenter the password from your initial email and press Enter. Note that as a security feature, PuTTY will NOT show your password as you type, so that nobody can see how many characters your password has. As the initial password has letter that look similar(e.g. 'l', '|','I'), it may be easiest to copy-and-paste. Pasting into Putty is by doing a right-click (not Ctrl-V).+
  
-You are now (hopefully) at the UNIX prompt in your home directory! You should see a prompt that looks like: +<code>ssh [your username]@cluster.econ.umd.edu</code>
- <code>[username@econ<#> ~]:</code> +
-The %%<#>%% will be a number 0 through 18.  This refers to the physical server that you have been connected to.  For more information see the [[cluster:hardware|Hardware Configuration]] Page.+
  
-==For Mac Users==+You will then be prompted to enter your password. (NOTE: You will not see any input while entering your password).
  
-As mentioned above, there is no need for a separate client. Open the Terminal, and type:  +====Workaround for Host Key Issue with MacOS SSH====
- <code>ssh cluster.econ.umd.edu -l [your username]</code>+
  
-You will then be prompted for a passwordAn alternative, is to type+Some users running newer versions of MacOS have run into an error stating the following:  
- <code>ssh [your username]@cluster.econ.umd.edu</code>+ 
 +<code>Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss</code> 
 + 
 +This is due to MacOS removing the ssh-rsa and ssh-dss key types from their default SSH connection. As a workaround, you can explicitly use ssh-rsa to connect by using the following: 
 + 
 +<code><code>ssh -oHostKeyAlgorithms=+ssh-rsa [your username]@cluster.econ.umd.edu</code> 
 + 
 +That should allow you to connect to the cluster if you're running into this issue.
  
-Note that what you type for your password will not be visible. 
  
cluster/logging_on.txt · Last modified: 2023/10/12 18:45 by mcloughlin