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 Password + 2FA/TOTP/OTP #751
Comments
Thanks for your positive feedback :) For sure we have to do something to support MFA properly. To correctly understand your issue can you describe what you mean by "when i connect it prompt for the verification code(OTP) but some how its not working" ? I would suspect it's a problem with the "Command Prompt" ; did you try to add And if you can provide some environment where I can test this out, that'd be easier to troubleshoot this further. |
Dear Gfrenoy, I meant, have followed the 2FA guide in the wiki and put the username and passwd then switched to manual and clicked connect, and it passes the username and passwd and its waiting for the verification code, however when i entered the code its visible where it shouldn't and after a while it disconnect because i didn't enter the Verification code even though i did. (i hope its clear now), even after the regex change you proposed still same behaviour. as per the environment, its a centos 8 vm with google authenticator installed to have a clone environment:
sudo vim /etc/pam.d/sshd sudo vim /etc/ssh/sshd_config sudo systemctl restart sshd restorecon -Rv ~/.ssh/ if you faced any issue i have used the guide bellow: |
Unfortunately, not much time to setup this kind of environmnet for myself. Any machine I can connect to ? Don't even have to have access to the machine, just need to be able to try from any remote location ... I can provide my IP address if you need to open some firewall. Check on our IRC channel to get in touch. Thanks. |
Is your feature request related to a problem? Please describe.
Dear Sir,
First i would like to thank you for your fork, its amazing,
I'm facing an issue with TOTP and passwords in SSH, where i have saved the username and password in the connection profile, however when i connect it prompt for the verification code(OTP) but some how its not working i have tried to play around in the app and on the VM it self but with no luck, i have even tried the solution in the WIKI, but its not working i have to delete the password from the profile then it will work in when it connect it will ask for the password then the verification code.
Describe the solution you'd like
I was wondering if its passable to have a pop-up that ask the user for the OTP then connect for example:
deeply appreciate your time and efforts.
I'm using Debian i would be happy to test .deb files if you need a help in the testing "during the weekend i can test them ;)", it will be a great Add-on since no other Linux ssh managers can do the OTP part
The text was updated successfully, but these errors were encountered: