This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
federated_identity_login [2022/07/27 14:37] pwolinsk |
federated_identity_login [2022/07/27 15:26] (current) pwolinsk |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Federated Identity with Globus ID ==== | ==== Federated Identity with Globus ID ==== | ||
- | Globus ID ([[https:// | + | Globus ID ([[https:// |
+ | **NOTE:** To log into Pinnacle, both a Globus ID and an associated local Pinnacle account have to exist. | ||
- | ==== Using Globus ID to log into AHPCC ==== | + | ==== Using a Globus ID to log into AHPCC ==== |
- | **oauth-ssh** client is needed to authorized a host machine to connect to the AHPCC cluster using a Globus ID. The **oauth-ssh** is a python package that can be installed using pip: | + | **oauth-ssh** client is needed to authorized a host machine to connect to the AHPCC cluster using a Globus ID. The **oauth-ssh** is a python package that can be installed using **pip** (python package manager): |
< | < | ||
Line 30: | Line 31: | ||
</ | </ | ||
- | Once **oauth-ssh** client is installed, your client machine (the host from which your are logging into Pinnacle) has to be authorized to connect to Pinnacle login node, **login.hpc.uark.edu**: | + | Once **oauth-ssh** client is installed, your client machine (the host from which your are logging into Pinnacle) has to be authorized to connect to the Pinnacle login node, **login.hpc.uark.edu**: |
< | < | ||
Line 53: | Line 54: | ||
< | < | ||
[pawel@frontdesk ~]$ oauth-ssh-token authorize login.hpc.uark.edu | [pawel@frontdesk ~]$ oauth-ssh-token authorize login.hpc.uark.edu | ||
- | / | ||
- | from cryptography.hazmat.backends import default_backend | ||
Please go to this URL and login: https:// | Please go to this URL and login: https:// | ||
Please enter the code you get after login here: MZzXX5GhCw7hr7uH80nU4StddODSQV | Please enter the code you get after login here: MZzXX5GhCw7hr7uH80nU4StddODSQV | ||
Line 60: | Line 59: | ||
</ | </ | ||
+ | Your host is now authorized for logging into login.hpc.uark.edu for 48 hours. | ||
- | To use a Globus ID, try to log into [[https://www.globus.org/|Globus]] | + | < |
- | If you do not already have a Globus ID, you can create one here: https://www.globusid.org/create? | + | [pawel@frontdesk ~]$ oauth-ssh login.hpc.uark.edu |
+ | |||
+ | Last failed login: Wed Jul 27 08:14:45 CDT 2022 from 184.180.249.7 on ssh:notty | ||
+ | There were 4 failed login attempts since the last successful login. | ||
+ | Last login: Wed Jul 27 08:12:10 2022 from 184.180.249.7 | ||
+ | |||
+ | | ||
+ | |||
+ | -bash-4.2$ | ||
+ | </ | ||
+ | or your regular ssh client, by copying and pasting the output of **oauth-ssh-token show token login.hpc.uark.edu** at the OAuth token prompt: | ||
+ | |||
+ | < | ||
+ | [pawel@frontdesk ~]$ oauth-ssh-token show token login.hpc.uark.edu | ||
+ | Ay525VXDNakMxKGVJ8dx0B5gl95mlj0ldjkngVdqQOOeaJ3ouVCB1gWOYkQrOKYW0oYnaX52dbOzIW92B1XHQ5mXj | ||
+ | [pawel@frontdesk ~]$ ssh pwolinsk@login.hpc.uark.edu | ||
+ | Enter your OAuth token: | ||
+ | Last login: Wed Jul 27 09:39:10 2022 from 10.172.0.199 | ||
+ | |||
+ | | ||
+ | |||
+ | -bash-4.2$ | ||
+ | </code> | ||