Skip to content

feat: SSH tools for direct VM/CT command execution#3

Merged
PureCypher merged 1 commit intomainfrom
feature/ssh-tools
Mar 9, 2026
Merged

feat: SSH tools for direct VM/CT command execution#3
PureCypher merged 1 commit intomainfrom
feature/ssh-tools

Conversation

@PureCypher
Copy link
Owner

Summary

  • Add 5 curated SSH tools: install_package, manage_service, transfer_file, execute_script, get_system_info
  • Auto-discover VM/CT IP addresses via QEMU guest agent or LXC interfaces API
  • Extend SSHExecutor with execute_on_host() for connecting to arbitrary hosts with per-call credential overrides (ssh_user, ssh_password, ssh_key_path, ssh_port)
  • Add input sanitizers for package names, service names, remote file paths, and script interpreters

Test plan

  • 40 unit tests covering all 5 tools, IP discovery, sanitizers, error paths, and SSH override propagation
  • Full test suite passes (344 passed, 0 regressions)

Add 5 curated SSH tools (install_package, manage_service, transfer_file,
execute_script, get_system_info) with auto-discovery of VM/CT IPs via
QEMU guest agent and LXC interfaces. Extend SSHExecutor with
execute_on_host() for connecting to arbitrary targets with per-call
credential overrides. Add input sanitizers for packages, services,
file paths, and script interpreters.
@PureCypher PureCypher merged commit 29cbd8c into main Mar 9, 2026
0 of 4 checks passed
@PureCypher PureCypher deleted the feature/ssh-tools branch March 9, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant