{"id":15793978,"url":"https://github.com/cedric05/multi-ssh","last_synced_at":"2025-03-31T19:25:38.407Z","repository":{"id":110365027,"uuid":"470036869","full_name":"cedric05/multi-ssh","owner":"cedric05","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-04T21:29:01.000Z","size":38,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-05T23:21:51.840Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cedric05.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-15T06:42:22.000Z","updated_at":"2022-03-15T06:42:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"4350dad0-fa58-4950-bd1b-8ba3c6ec980b","html_url":"https://github.com/cedric05/multi-ssh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Fmulti-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Fmulti-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Fmulti-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedric05%2Fmulti-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedric05","download_url":"https://codeload.github.com/cedric05/multi-ssh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246525113,"owners_count":20791678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T23:21:54.235Z","updated_at":"2025-03-31T19:25:38.382Z","avatar_url":"https://github.com/cedric05.png","language":"Rust","readme":"## Multi-Ssh\n\nRunning a command across multiple servers is usuall devops job. Running same command across multiple instances is very rare, but i got myself into that. \n\nMulti-ssh takes care of running same command across multiple instances and prints output accordingly, with readline (takes care of keeping history)\n\n\n### Install\n\n`cargo install --path .`\n\n### Usage\n\n`multi-ssh  --tag cluster_dev --config node_config.json`\n\nRun commands like a ssh-shell.\n\nTo copy files from local to all remote nodes, follow below format\n\n`.copy  \u003clist of files in `,` seperated\u003e` (inspired from sqlite shell)\n\n### Config file\n\n\n```json\n[\n  {\n    \"public_address\": \"171.31.0.22\",\n    \"keyfile\": \"~/.ssh/id_rsa\",\n    \"tag\": \"cluster-alpha\",\n  },\n  {\n    \"public_address\": \"171.31.0.3\",\n    \"keyfile\": \"~/.ssh/id_rsa\",\n    \"tag\": \"cluster-alpha\",\n  }\n]\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedric05%2Fmulti-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedric05%2Fmulti-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedric05%2Fmulti-ssh/lists"}