From db84c1535d63e4ea42fb8d0d612cebbaf72d4066 Mon Sep 17 00:00:00 2001 From: sprmn24 Date: Wed, 22 Apr 2026 00:42:29 +0300 Subject: [PATCH] fix(ssh): add scp availability check to preflight validation --- tools/environments/ssh.py | 4 ++++ 1 file changed, 4 insertions(+) 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):