feo-cz / win-sshfs

Fork of http://code.google.com/p/win-sshfs/
BSD 3-Clause "New" or "Revised" License
1.27k stars 127 forks source link

No support for 2FA authentication #92

Open Arno0x opened 8 years ago

Arno0x commented 8 years ago

I'm using libpam google-authenticator on my SSH server to enable 2 factor authentication.

So I'm usually prompted for my password, if correct, I'm prompted for a OTP (One Time Password) before login succeeds.

This way of operating doesn't work. It should trigger a popup window for the OTP prompting, or something like that.

Rgds, Arno

osheros commented 7 years ago

I'd like to add my support for this feature enhancement as well. The prompt I get is "PRN", which would hopefully cause win-sshfs to pop a dialog requesting me to enter the token number. Thanks, Sam

osheros commented 7 years ago

Actually looks like the newest version of Renci SshNet supports two-factor authentication so possibly just a recompile of this branch of win-sshfs with the newest Renci SshNet library would take care of it. Too bad my VS.NET subscription expired. :(