fix(ssh): add scp availability check to preflight validation
This commit is contained in:
@@ -27,6 +27,10 @@ def _ensure_ssh_available() -> None:
|
|||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
"SSH is not installed or not in PATH. Install OpenSSH client: apt install openssh-client"
|
"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):
|
class SSHEnvironment(BaseEnvironment):
|
||||||
|
|||||||
Reference in New Issue
Block a user