remote-sshfs.nvim icon indicating copy to clipboard operation
remote-sshfs.nvim copied to clipboard

Add SSH askpass support

Open oblivcheck opened this issue 2 years ago • 1 comments

If I use a public key with 2-step verification or only passwd, will always fail verification: Enter passwd for host: Connection failed:......remote host has disconnected Permission denied (publickey,passwd) OR Permission denied (publickey)

I can connect to the server via cli. ssh Host/HostName sshfs Host/HostName:path mountpoint user@ip too.

And if i connect via just the public key there will be no problem.

oblivcheck avatar Nov 08 '23 10:11 oblivcheck

Thanks for the repo, and sorry you are having that issue! Candidly, the way I try to support passwords under the hood is a bit weird. Ideally, your ssh-agent allows you to connect without input but obviously that's not possible nor the best security practice in some instances. I want to see if there is some way I can incorporate keychains or some sort of SSH askpass. I'll whip something up and keep you updated here!

nosduco avatar Dec 07 '23 23:12 nosduco