XSEDE / oauth-ssh

SSH with Globus Auth
Apache License 2.0
28 stars 11 forks source link

Fail to authorize host when valid SSH key available #66

Closed JasonAlt closed 4 years ago

JasonAlt commented 4 years ago

On CentOS7:

(venv_system) [centos@ip-172-31-18-79 client]$ ssh-add -l error fetching identities for protocol 1: agent refused operation 4096 SHA256:xfLr9xmVP4kHiQ6Dz4zv40ZfdK9cEN5Y5ZABH696Q3A .ssh/id_rsa_V1 (RSA) (venv_system) [centos@ip-172-31-18-79 client]$ oauth-ssh-token authorize ssh.globus.demo.org Authorization to this host has failed. Likely causes are no local account or a misconfigured service.

Same system, different windows:

(venv_system) ubuntu@ip-172-31-28-16:\~/oauth-ssh/client$ ssh-add -l Could not open a connection to your authentication agent. (venv_system) ubuntu@ip-172-31-28-16:~/oauth-ssh/client$ oauth-ssh-token authorize ssh.demo.globus.org Please go to this URL and login: https://auth.globus.org/v2/oauth2/authorize?code_challenge=_GSVU5X8i2RkQxEwHbxv3-Bo52pZCDNdMLBO7ImPl9c&state=_default&redirect_uri=https%3A%2F%2Fauth.globus.org%2Fv2%2Fweb%2Fauth-code&code_challenge_method=S256&client_id=1c8d5518-ffec-4355-86a0-85da7d5d6028&scope=https%3A%2F%2Fauth.globus.org%2Fscopes%2Fssh.demo.globus.org%2Fssh&access_type=offline&response_type=code Please enter the code you get after login here: ^C

JasonAlt commented 4 years ago

Could not duplicate.