You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the issue #156 , I understood that adding "username":"$USERNAME" would fix the problem. But still ssh fs gives me the same error(asking username, then "Error while connecting to SSH FS server:
getaddrinfo ENOTFOUND server server:22" pops out).
Depending on your operating system you're running vscode on, you might have to use $USER instead of $USERNAME. I'll see about making the Settings UI suggest $USER or $USERNAME depending on which one is found on the OS, otherwise possibly mapping one to the other by default.
Mind that the extension doesn't actually use any config files (apart from vscode's settings.json and SSH FS config files referenced by sshfs.configpaths there), so it won't use ~/.ssh/config. It is something that's been planned and has been worked on: #107
I'm trying to connect to my machine with ssh fs using ~/.ssh/config file.
And I get the same error from #156.
From the issue #156 , I understood that adding "username":"$USERNAME" would fix the problem. But still ssh fs gives me the same error(asking username, then "Error while connecting to SSH FS server:
getaddrinfo ENOTFOUND server server:22" pops out).
Am I understanding something wrong?
here's my settings
{
"host": "server",
"root": "~/",
"username": "$USERNAME"
}
The text was updated successfully, but these errors were encountered: