Skip to content

Detect the error case where scp cannot copy to remote because remote doesn't have scp installed #10200

@joshspicer

Description

@joshspicer

As discussed here, to use scp it needs to be installed on both sides. Today the ssh extension will not be able to identity this fatal case, likely producing a cryptic error like:

[17:11:53.801] > bash: line 1: scp: command not found
> lost connection

More context: microsoft/vscode#226759 (comment)

Metadata

Metadata

Assignees

Labels

sshIssue in vscode-remote SSH

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions