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

how to All configured authentication methods failed #177

Closed playerarm123 closed 4 years ago

playerarm123 commented 4 years ago

I am trying to connect to the server. But cannot connect And I am confident that I have correctly specified the host name and password.

shim-sao commented 4 years ago

It works fine for me.

Here is an example of connection setting with password and a key file:

"sshfs.configs": [
    {
      "agent": "$SSH_AUTH_SOCK",
      "group": "A Group",
      "host": "your_hostname",
      "label": "Your Label Here",
      "name": "an-unique-name",
      "password": "your_password",
      "root": "/folder_root",
      "username": "your_username"
    },
    {
      "agent": "$SSH_AUTH_SOCK",
      "group": "Fedora 29",
      "host": "192.168.1.27",
      "label": "Fedora 29",
      "merge": true,
      "name": "root-connection",
      "privateKeyPath": "path/to/your/key.ppk",
      "root": "/",
      "username": "root"
    }
]