mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-01 21:30:21 +00:00
Add ssh_run_server, ssh_upload_file, ssh_interactive_session, and ssh_verify_connectivity to shared/common.sh. These four functions were copy-pasted identically across 21 cloud provider lib files, differing only in SSH username (root vs ubuntu). Providers now set SSH_USER and delegate to the shared helpers via one-line wrappers, reducing each provider's lib by ~20 lines. Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||