-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't detect the home directory for 'configuration' #273
Comments
What is the actual home directory for the |
I've pushed a small commit (bda36c9) which you can download here (or from later builds). Besides displaying a better warning in the output log, it also allows you to add a |
Thank you for getting into this so quickly. |
I'm still interested in what caused this. Detecting the home directory is done by running an vscode-sshfs/src/connection.ts Lines 24 to 33 in bda36c9
Are you using a special shell for the root user, different from |
Sorry for the delay. So, the box uses fish as default shell. This however gives the same result to the |
Hmm, I do use the regex I'll see about merging If your login script still runs for SFTP sessions like in #185, then that's not something I can solve I think. It should run the shell non-interactively which might help configuring the script, although I'm not too sure about how the underlying |
Alright. That sounds like it should solve the problem. Ping me when you want it tested. I'll de-silence the login. |
I am running into similar issue with SSH FS extension v1.24.1. When I try to log in I get an error message "Couldn't detect the home directory for 'configuration'". My json config is: {
"sshfs.configs": [
{
"name": "configuration",
"host": "remotehostname.org",
"username": "myusername",
"root": "/my/homedir/path",
"flags": ["CHECK_HOME"]
}
]
} I checked that Could you suggest how to troubleshoot this? I haven't used this plugin before, so I might be missing something obvious. |
@pelesh I think the flag needs a dash:
|
I have a weird issue with one server, that has a nonstandard ssh port. When opening a terminal or trying to add the folder to workspace I get the same error:
Couldn't detect the home directory for 'configuration'
Debug output is as follows:
Running on Linux Vscodium 1.57.1
vscode-sshfs v1.21.0
Host is Ubuntu 20.04
Connecting in the terminal with
ssh root@host.name -p NONSTANDARD-PORT
works fine.I'd be really grateful for any pointers. vscode-sshfs works flawlessly for other hosts.
Thomas
The text was updated successfully, but these errors were encountered: