diff --git a/tools/environments/ssh.py b/tools/environments/ssh.py index 53d03adce8..1f1afb4844 100644 --- a/tools/environments/ssh.py +++ b/tools/environments/ssh.py @@ -27,6 +27,10 @@ def _ensure_ssh_available() -> None: raise RuntimeError( "SSH is not installed or not in PATH. Install OpenSSH client: apt install openssh-client" ) + if not shutil.which("scp"): + raise RuntimeError( + "SCP is not installed or not in PATH. Install OpenSSH client: apt install openssh-client" + ) class SSHEnvironment(BaseEnvironment):