SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
546 stars 36 forks source link

Error while connecting to SSH FS workPC: All configured authentication methods failed -- no password prompt #196

Closed naidoo88 closed 4 years ago

naidoo88 commented 4 years ago

Hi there!

I am trying to connect, via tunnel to my work computer via an ssh tunnel. When connecting, the password prompt appears for "login" and is accepted, however the forward connection then immediately fails and I get the error "Error while connecting to SSH FS npc8: All configured authentication methods failed"

My config looks like follows:

"sshfs.configs": [ { "hop": "login", "host": "", "label": "workPC-sshfs", "name": "workPC", "username": "" }, { "host": "", "label": "login-tunnel", "name": "login", "username": "" } ]

Thanks in advance!

naidoo88 commented 4 years ago

Any help would be deeply appreciated!

PierreMarchand20 commented 4 years ago

I had a similar issue and adding to the settings "password": true solved the issue.

naidoo88 commented 4 years ago

What a simple fix!! Thank you so much for taking the time to answer.