sshfs-win
sshfs-win copied to clipboard
Smartcard support?
Hey everyone... I'm a long-time consumer of your SSHFS for Windows, but recently created a GitHub account as I needed to ask a question, and couldn't find any posts related to my situation.
I've been happily leveraging SSHFS for Windows to mount my /homedir from a couple of our RHEL servers for a while now, but the small org. I work for recently moved to smartcards, a YubiKey card to be exact, for both SSH and RDP access to servers in our small closet-sized datacenter.
We're still in a transitioning state, so accounts still work with typed-passwords as well as with the smartcard for things like standard SSH, SFTP, SCP commands to our RHEL servers.
I've been trying to get the SSHFS mounts to work via 'net use' with the /smartcard option with no luck for a few days now, so figured I would simply ask here if it's just me maybe doing something wrong, or is "smartcard" not available with the current release of things.
Example: Works fine, prompted for password and things work great:
PS C:\> net use Y: \\sshfs\[email protected]
But if I try the /smartcard option available through 'net use', no luck. I get prompted for the smartcard PIN but things fail, :(
PS C:\> net use Y: /smartcard \\sshfs\[email protected]
Reading smart cards.........
Using the card in reader 1. Enter the PIN:
System error 5 has occurred.
Access is denied.
I figure if the functionality is just plain not available, I can at least stop banging my head on the desk, ;-)
Thanks for this great project and all the time and effort you've all invested in bringing it to the public!