mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-08 03:01:47 +00:00
fix(ssh): add scp availability check to preflight validation
This commit is contained in:
parent
8e18d10318
commit
db84c1535d
1 changed files with 4 additions and 0 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue