{"id":17603421,"url":"https://github.com/blwsh/ecssh","last_synced_at":"2025-08-31T23:34:11.707Z","repository":{"id":135963595,"uuid":"320974214","full_name":"blwsh/ecssh","owner":"blwsh","description":"Elastic Container SSH - Easily start a shell session in any ECS container.","archived":false,"fork":false,"pushed_at":"2021-01-20T17:09:28.000Z","size":714,"stargazers_count":6,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-06T17:53:49.061Z","etag":null,"topics":["aws-ec2","aws-ecs","docker","ssh"],"latest_commit_sha":null,"homepage":"https://blw.sh","language":"Go","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/blwsh.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":"2020-12-13T03:18:34.000Z","updated_at":"2021-05-25T17:58:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"29bc7216-0ec4-42cb-a15b-ca623e78c1e5","html_url":"https://github.com/blwsh/ecssh","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/blwsh/ecssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwsh%2Fecssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwsh%2Fecssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwsh%2Fecssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwsh%2Fecssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blwsh","download_url":"https://codeload.github.com/blwsh/ecssh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blwsh%2Fecssh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273053196,"owners_count":25037360,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws-ec2","aws-ecs","docker","ssh"],"created_at":"2024-10-22T13:47:51.869Z","updated_at":"2025-08-31T23:34:11.689Z","avatar_url":"https://github.com/blwsh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ECSSH \n\n![ecssh cli demo](res/demo.gif)\n\n\nElastic Container (Service) SSH - Allows you to easily navigate running containers in your ECS clusters and run a shell in them using just one simple command.\n\n# Requirements\n\n* AWS CLI - https://github.com/aws/aws-cli\n* EC2 Instances must be in a public subnet have ssh running on open port 22.\n    * Connecting to an instance in a private subnet with port 22 closed will be possible in future with the addition of AWS SSM support. https://docs.aws.amazon.com/systems-manager/index.html  \n\n### Usage\n\n```shell\necssh --region \"\u003cregion\u003e\" --cluster \"\u003ccluster name or ARN\u003e\"\n```\n\nOr via Docker\n\n```shell\ndocker run --rm -it \\\n  -v ~/.aws:/app/.aws \\ # Mounts your AWS config\n  -v ~/\u003ckey.pem\u003e:/app/\u003ckey.pem\u003e \\ # The pem file to connect to the instance via SSH \n  blwsh/ecssh:latest -i /app/\u003ckey.pem\u003e --region \u003cregion\u003e\n```\n\n*Note in future versions, support for forwarding the host SSH agent and AWS SSM will be included meaning you can omit mounting a .pem file*\n\n### Flags\n\n| Name    | Optional  | Description                           |\n|---------|-----------|---------------------------------------|\n| region  | ✔️         | The AWS region for the cluster(s).    |\n| cluster | ✔️         | The cluster to search for containers. |\n\n### Future releases\n\n* Option to change default entrypoint command for containers.\n* Automate adding and removing security groups for port 22 access for specific IP addresses.\n* Automate adding ssh keys to ec2 instances.\n* See if fargate support is at all possible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblwsh%2Fecssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblwsh%2Fecssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblwsh%2Fecssh/lists"}