Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH with 2FA doesn't work #7

Closed
andersy005 opened this issue Jul 16, 2020 · 2 comments
Closed

SSH with 2FA doesn't work #7

andersy005 opened this issue Jul 16, 2020 · 2 comments

Comments

@andersy005
Copy link
Member

andersy005 commented Jul 16, 2020

I just confirmed that the existing authentication mechanism doesn't work when using 2 factor authentication on Casper

https://github.com/NCAR/jupyter-forward/blob/eb59c2e91b697afe65ac80ca77f6711ece9d9185/jupyter_forward/core.py#L84-L85

Running something along these lines

❯ jupyter-forward start abanih@casper.ucar.edu --notebook-dir /glade/scratch/abanihi 

raises the following exception

paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: ['keyboard-interactive']
@andersy005
Copy link
Member Author

This SO post may be useful.

@andersy005
Copy link
Member Author

I found out I was wrong about this. I was inputting the wrong password. I can confirm the authentication works on both casper and cheyenne as well. @halehawk, thank you for your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant