-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
2FA with SFTP #174
Comments
I'm searching on the Internet but the use of 2FA with SFTP isn't as "easy" as I would like :
Could you share your SFTP configuration and your actual SFTP client used ? |
Hello, |
sshd_config PAM configuration for the Secure Shell service From webssh I get on my device : From Filezilla, I get 1st prompt for password, then second prompt for the code, |
Thank you a lot for your feedback @cotchon ! I will try to figure out why I didn't success SFTP 2FA connections in the past |
Hello @cotchon 👋 It seems possible to implement 2FA over SFTP but only if an SSH connection is launched in background. I don't think it will cause any problem in most case as the SSH connection will only be opened on the channel side and no shell would be opened at all. |
That's a great news :-) |
@cotchon Work In Progress |
Hello @cotchon 👋 Could you try WebSSH 14.20 please? |
You did it man !!! It works great :-) THANK YOU VERY MUCH Now I have a good security enabled at home + webssh which rocks !!! I use pubkey+2FA to get into my system For thoses interested : https://www.techrepublic.com/article/how-to-combine-ssh-key-authentication-and-two-factor-authentication-on-linux/ |
Thank you a lot for your feedback @cotchon 🙏 Glad to see that this feature made your day 😇 |
Hello,
You removed the feature on release 13.10 - july 2017 because 2FA never worked with SFTP.
Would you consider to try again to implement this great feature ?
It seems to work but I don't know what was the problem you had ...
https://help.thorntech.com/docs/sftp-gateway-classic/two-factor-authentication-with-google-authenticator/
Thank you very much
Originally posted by @cotchon in #173
The text was updated successfully, but these errors were encountered: