sshfs-win icon indicating copy to clipboard operation
sshfs-win copied to clipboard

Login with public key does not work when passwordauthentication is off

Open jackn11 opened this issue 3 years ago • 2 comments

My SSH server works perfectly with sshfs with a public key, but only as long as passwordauthentication is on, even though I am not prompted for input because I have a public key setup. However, when I disable passwordauthentication and try to sign in the public key stops automatically signing me in, and I am prompted for login information (username/password), even though I was not before and the configuration that would allow it is now deactivated. This results in me being prompted for input that it will not accept and that I should not have to provide in the first place. I have tried running it from cmd as well as file explorer and neither have worked. The code I've used in file explorer has been \sshfs\username@ipaddress!portnumber. This is an issue, because leaving passwordauthentication on can be a security threat.

jackn11 avatar Feb 04 '21 07:02 jackn11

I'm having this exact issue.

Would appreciate some feedback on this.

scath999 avatar Apr 10 '22 00:04 scath999

@jackn11 I solved this using SiriKali. Took 10 mins to find, 2 mins to implement.

https://mhogomchungu.github.io/sirikali/

Hope this helps!

scath999 avatar Apr 10 '22 02:04 scath999