Closed MikeK184 closed 2 years ago
Where is this bosh
command declared? Is it part of the PATH
variable? (and if so, where does it get appended to PATH
?) or like a bash function declared in some profile script? This might be some kind of issue where bash
doesn't properly load some profile script (or there's an early return in it) where this command is (indirectly) defined.
Taking a look at your first output again, does Expected non-empty Director URL
not mean the command did run, but just failed for some reason? Based on this and this, it's more likely some profile injects $BOSH_ENVIRONMENT
but doesn't this time for some reason, perhaps it not being a login shell. You could try changing Terminal command
in your config's settings to /bin/bash -l
, which might solve the issue with certain profile scripts not (fully) being run.
Hi @SchoofsKelvin,
the change /bin/bash -l
solved the issue. And yes you were right, the command did get executed per se but expected more parameters for some reason. I've quickly checked and bosh
was within the PATH
variable (at the end; last one).
Anyway, thanks for your quick help!
Hi there,
I've been using this plugin recently and I'm overall pleased, but there is one issue that keeps bothering me. For some reason commands are not recognized as such in the remote as it would be with a 'native ssh' connection. Here is an example:
After using
exit
to leave the remote VSCode comes up with the followingHowever if i use ssh directly from the terminal and pass in the keyphrase it works:
The Logs are the following:
I'm not sure if this issue is caused by the following: https://github.com/SchoofsKelvin/vscode-sshfs#remote-shell-tasks
Kind regards, Mike