Skip to content

Can't connect with RemoteCommand in ssh config #481

Description

@roblourens

This has come up several times but there is not one issue that only hits this.

Add a line like this to your ssh config: RemoteCommand bash -l. Some people like to do this to set a default shell. But they will get an error message like Cannot execute command-line and remote command. because we can't pass the install script when a RemoteCommand is defined.

Fixing this to override RemoteCommand in all of our generated ssh commands.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsshIssue in vscode-remote SSHverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions