SchoofsKelvin / vscode-sshfs

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

pageant doesn't work correctly. #183

Closed richard-scott closed 4 years ago

richard-scott commented 4 years ago

I have SSH keys loaded in my pageant and when I select this from the "Agent" dropdown, I can't connect to my target system.

However, if I leave "Agent" blank. I can connect.

richard-scott commented 4 years ago

I also need to provide a name of a PuTTY session otherwise it won't connect and I get an "All configured authentication methods failed error.

SchoofsKelvin commented 4 years ago

Did you specify the PuTTY session name in the PuTTY field? If that's left blank, the extension will try to guess the correct session based on the provided host/port/username.

Also make sure vscode and the pageant are running as the same user. Running one but not the other as administrator for example will prevent the extension from using pageant.

richard-scott commented 4 years ago

ah, my mistake then. I didn't realise that you needed a sensibly named "session" in Putty.