(globus-ssh) [arnoldg@public7 bin]$ globus-ssh login ssh.demo.globus.org
Please go to this URL and login: https://auth.globus.org/v2/oauth2/authorize?code_challenge=aza4pYGOh8CGo...
Please enter the code you get after login here: XXXXXXXXXXXXXXXX
Login successful
(globus-ssh) [arnoldg@public7 bin]$ globus-ssh ssh.demo.globus.org
Enter passphrase for key '/afs/ncsa/.u5/arnoldg/.ssh/id_rsa':
Enter your Globus Auth token:
Enter your Globus Auth token:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
(globus-ssh) [arnoldg@public7 bin]$
You'll need to give me your globus ID that you are using during the consent (when you followed that link)
Then you need to do this to view your locally mapped accounts:
globus-ssh -l globus-mapping ssh.demo.globus.org
If you try that now, you should see that you have no local accounts.
arnoldg@globus.org
I don't see arnoldg@globus.org. I do see arnoldg@globusid.org
id: a673c704-d274-11e5-9f54-3729cef104fb
username: arnoldg@globusid.org
status: used
email: gwarnold@illinois.edu
name: Galen Arnold
org: NCSA/University of Illinois
You should be all set. "globus-ssh -l globus-mapping ssh.demo.globus.org"
I guess it works well enough:
(globus-ssh) [arnoldg@public7 bin]$ globus-ssh -l globus-mapping ssh.demo.globus.org
Enter passphrase for key '/afs/ncsa/.u5/arnoldg/.ssh/id_rsa':
You have no local accounts
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
(globus-ssh) [arnoldg@public7 bin]$
globus-ssh) [arnoldg@public7 bin]$ globus-ssh -l globus-mapping ssh.demo.globus.org
Enter passphrase for key '/afs/ncsa/.u5/arnoldg/.ssh/id_rsa':
You can log in as arnoldg1, arnoldg2
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
(globus-ssh) [arnoldg@public7 bin]$ globus-ssh -l arnoldg1 ssh.demo.globus.org
Enter passphrase for key '/afs/ncsa/.u5/arnoldg/.ssh/id_rsa':
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
[arnoldg1@ip-172-31-37-87 ~]$ hostname
ip-172-31-37-87.us-west-2.compute.internal
[arnoldg1@ip-172-31-37-87 ~]$ uptime
19:17:15 up 62 days, 22:03, 1 user, load average: 0.00, 0.01, 0.05
[arnoldg1@ip-172-31-37-87 ~]$ uname -a
Linux ip-172-31-37-87.us-west-2.compute.internal 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[arnoldg1@ip-172-31-37-87 ~]$
#AWESOME