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

Extension 'SSH FS' failed to update workspace folders: {1} #169

Closed ilinojkovic closed 5 years ago

ilinojkovic commented 5 years ago

I'm new to the extension, and I'm trying to mount a remote directory. Here's my dummy configuration:

"sshfs.configs": [
        {
            "host": "my_hostname",
            "name": "sshfs_name",
            "root": "/some/root/dir",
            "username": "my_username"
        }
    ]

I've added my keys to authorized keys file on remote, therefore no authorization is needed. When I try to connect, I'm shown the error from the title:

Extension 'SSH FS' failed to update workspace folders: {1}

I've tried adding my private key or password, or even changing the root dir - non of that helped. I also tried a couple of ports, the issue persists. Does anyone have suggestions what might be the issue?

My VSCode details are:

Version: 1.37.0-insider
Commit: 7e03eb1a1fce3beb6ccea5f3b8f828e01940be61
Date: 2019-07-05T19:16:48.439Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.19.62-1-MANJARO
ilinojkovic commented 5 years ago

Managed to mount, I'm closing this issue. The problem was that I was running the extension from withing a docker container (using Remote Dev Extension). Running it outside, from the local machine resolved the issue.