-
Notifications
You must be signed in to change notification settings - Fork 288
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
Cannot execute command-line and remote command #10412
Labels
ssh
Issue in vscode-remote SSH
Comments
Could you please share your entire log? What version of the extension are you on? |
Below is a connection without (successful) and with (failed) a RemoteCommand. I am using Here is a connection (successful) without a RemoteCommand specified in my ssh config:
Here is a connection (failed) with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue was already discussed and reproduced in #481 but it looks like the issue was closed without being resolved and the issue still exists.
I have enabled
remote.SSH.enableRemoteCommand
andremote.SSH.useLocalServer
.Version Info:
I have configured the following in my ssh config:
When I try to "Connect to host", it throws the error:
When I manually run the command in CMD that vsc is running, I get the same error:
When I manually run the command in CMD without the
bash
command, it works and I am logged into the server as root as desired:The text was updated successfully, but these errors were encountered: