User Tools

Site Tools


ssh_login_nopass

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
ssh_login_nopass [2026/04/29 21:48] pwolinskssh_login_nopass [2026/05/10 21:44] (current) pwolinsk
Line 1: Line 1:
-====SSH Password-less Login====+==== SSH Password-less Login ====
  
-The secure shell (SSH) server on **hpc-portal1.hpc.uark.edu**  does not accept passwords as an authentication method for the SSH protocol Instead SSH key files are used for access.  A public SSH key file is stored in your account on Pinnacle.  You must supply a matching private key (pinnacle.key) file as a parameter to the ssh command on the client to log in.+The secure shell (SSH) server on **hpc-portal2.hpc.uark.edu** does not accept passwords as an authentication method. InsteadSSH key files are used for access. A public SSH key file is stored in your account on Pinnacle. matching private key (pinnacle.key) file has to be supplied as a parameter to the ssh command on the client to log in.
  
 <code> <code>
-ssh -i pinnacle.key ffinfinn@hpc-portal1.hpc.uark.edu +ssh -i pinnacle.key ffinfinn@hpc-portal2.hpc.uark.edu
-</code>  +
- +
-Both private and public keys are generated and configured automatically on Pinnacle via the web portal.  To enable SSH password-less access: +
- +
-  - log into the web portal at: [[https://hpc-portal1.hpc.uark.edu]] +
- +
-  - In the top menu go to  **Clusters->SSH keys**  +
- +
-{{:hpc-portal1-auth5.png?400|}} +
- +
-  - Click on **Create New SSH Key** or **Use Existing SSH Key** button if available.  Both buttons will redirect your browser to a file manager window allowing you to download your private SSH key **pinnacle.key** file to your client device. ** ** +
- +
-{{:hpc-portal1-auth6.png?400|}} +
- +
-  - Click on the checkbox next to the **pinnacle.key** file and press the **Download** button at the top.  The file will likely be saved to your **Downloads** directory.  +
- +
-  - Before the file can be used for SSH, the file permissions have to be updated to "read only for owner", or mode "400" on MacOS and Linux devices +
- +
-<code> +
-Pawels-MacBook-Pro-2:~ pawel$ cd Downloads/ +
-Pawels-MacBook-Pro-2:Downloads pawel$ chmod 400 pinnacle.key+
 </code> </code>
  
-  - Use our new key to SSH into Pinnacle +Both private and public keys are generated and configured automatically on Pinnacle via the web portalTo enable SSH password-less access:
- +
-<code>  +
-Pawels-MacBook-Pro-2:Downloads pawel$ ssh -i pinnacle.key ffinffin@hpc-portal1.hpc.uark.edu +
- +
-  ************ PLEASE CITE US in your publications ***************************** +
-  **    This research is supported by the Arkansas High Performance Computing ** +
-  **    Center which is funded through multiple National Science Foundation   ** +
-  **    grants and the Arkansas Economic Development Commission.              ** +
-  ****************************************************************************** +
-       +
-  Login nodes are for file operations and job submission.   +
-  All login nodes run a different kernel than compute nodes, so: +
-    - Don't compile on login nodes. Resulting code won't work on compute nodes.  +
-    - Don't run R or Python on login nodes.   +
- +
-  For a shared cloud compute node: +
-     srun -N1 -n1 -c1 -p cloud72 -q cloud -t 72:00:00 --pty /bin/bash  +
- +
- +
-Last login: Fri Apr 10 10:14:51 2026 from 167.224.131.232 +
- +
-      Pinnacle file system usage for dchaffin +
-          Filesystem                Usage/Quota               Files/Quota +
-              /scrfs               4.059T/10TB             21798831/10.0 million +
-               /scr1                  16k/ 1TB                    4/ 2.5 million +
-               /scr2                  96k/ 1TB                   24/ 2.5 million +
- +
- +
-pinnacle-l11:ffinffin:$  +
-</code> +
- +
- +
- +
- +
-====== SSH Password-less Login ====== +
- +
-The secure shell (SSH) server on **hpc-portal1.hpc.uark.edu** does not accept +
-passwords as an authentication method. Instead, SSH key files are used for +
-access. A public SSH key file is stored in your account on Pinnacle. You must +
-supply a matching private key (pinnacle.key) file as a parameter to the ssh +
-command on the client to log in. +
- +
-<code> +
-ssh -i pinnacle.key ffinfinn@hpc-portal1.hpc.uark.edu +
-</code>+
  
-Both private and public keys are generated and configured automatically on +**1.** Log into the web portal athttps://hpc-portal2.hpc.uark.edu
-Pinnacle via the web portal. To enable SSH password-less access:+
  
-  - Log into the web portal at: https://hpc-portal1.hpc.uark.edu +**2.** In the top menu go to **Clusters -> SSH keys**
-  - In the top menu go to **Clusters -> SSH keys**+
  
 {{:hpc-portal1-auth5.png?400|SSH keys menu}} {{:hpc-portal1-auth5.png?400|SSH keys menu}}
  
-  - Click on **Create New SSH Key** or **Use Existing SSH Key** if available. \ +**3.** Click on **Create New SSH Key** or **Use Existing SSH Key** if available. 
-Both buttons will redirect your browser to a file manager window allowing you \+Both buttons will redirect your browser to a file manager window allowing you
 to download your private SSH key **pinnacle.key** file to your client device. to download your private SSH key **pinnacle.key** file to your client device.
  
 {{:hpc-portal1-auth6.png?400|SSH key download}} {{:hpc-portal1-auth6.png?400|SSH key download}}
  
-  - Click on the checkbox next to the **pinnacle.key** file and press the \+**4.** Click on the checkbox next to the **pinnacle.key** file and press the
 **Download** button at the top. The file will likely be saved to your **Downloads** directory. **Download** button at the top. The file will likely be saved to your **Downloads** directory.
-  - Before the file can be used for SSH, the file permissions must be updated \ + 
-to read-only for owner (mode ''400''on macOS and Linux:+**5.** Before you can use the file for SSH, the file permissions must be updated 
 +to read-only for ownermode ''400'' on MacOS and Linux:
  
 <code> <code>
Line 99: Line 32:
 </code> </code>
  
-  - Use the new key to SSH into Pinnacle:+**6.** Use the new key to SSH into Pinnacle:
  
 <code> <code>
-ssh -i pinnacle.key ffinfinn@hpc-portal1.hpc.uark.edu+ssh -i pinnacle.key ffinfinn@hpc-portal2.hpc.uark.edu
  
-  ************ PLEASE CITE US in your publications *****************************+  ************ PLEASE CITE AHPCC ********** in your publications *************** 
 +  ******************************************************************************
   **    This research is supported by the Arkansas High Performance Computing **   **    This research is supported by the Arkansas High Performance Computing **
   **    Center which is funded through multiple National Science Foundation   **   **    Center which is funded through multiple National Science Foundation   **
   **    grants and the Arkansas Economic Development Commission.              **   **    grants and the Arkansas Economic Development Commission.              **
   ******************************************************************************   ******************************************************************************
- +  Login nodes are for file operations and job submission.   
-  Login nodes are for file operations and job submission. +    - Don't run R or Python on login nodes.   
-  All login nodes run a different kernel than compute nodes, so: +  To start an interactive job on a shared cloud compute node: 
-    - Don't compile on login nodes. Resulting code won't work on compute nodes. +     srun -N1 -n1 -c1 -p cloud72 -q cloud -t 72:00:00 --pty /bin/bash 
-    - Don't run R or Python on login nodes. +
-  For a shared cloud compute node: +
-     srun -N1 -n1 -c1 -p cloud72 -q cloud -t 72:00:00 --pty /bin/bash+
  
 Last login: Fri Apr 10 10:14:51 2026 from 167.224.131.232 Last login: Fri Apr 10 10:14:51 2026 from 167.224.131.232
Line 127: Line 58:
 pinnacle-l11:ffinfinn:$ pinnacle-l11:ffinfinn:$
 </code> </code>
- 
- 
  
ssh_login_nopass.1777499282.txt.gz · Last modified: by pwolinsk