{"id":20406188,"url":"https://github.com/umegbewe/ec2-ssh","last_synced_at":"2025-04-12T15:06:01.049Z","repository":{"id":64887176,"uuid":"528583978","full_name":"umegbewe/ec2-ssh","owner":"umegbewe","description":"CLI tool to easily connect to EC2 instances via SSH, selected with fzf.","archived":false,"fork":false,"pushed_at":"2023-05-12T13:30:19.000Z","size":20,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T12:50:52.015Z","etag":null,"topics":["aws","aws-cli","ec2","fzf","ssh"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umegbewe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-24T20:28:15.000Z","updated_at":"2024-05-16T04:25:37.000Z","dependencies_parsed_at":"2024-06-20T12:04:00.294Z","dependency_job_id":"756d9229-5053-489d-8a96-0e77f4e7e1fd","html_url":"https://github.com/umegbewe/ec2-ssh","commit_stats":null,"previous_names":["umegbewe/sshprobe"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umegbewe%2Fec2-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umegbewe%2Fec2-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umegbewe%2Fec2-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umegbewe%2Fec2-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umegbewe","download_url":"https://codeload.github.com/umegbewe/ec2-ssh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224732013,"owners_count":17360417,"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":["aws","aws-cli","ec2","fzf","ssh"],"created_at":"2024-11-15T05:15:35.495Z","updated_at":"2024-11-15T05:15:36.037Z","avatar_url":"https://github.com/umegbewe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **ec2-ssh**\n\nCommand-line tool to easily connect to Amazon EC2 instances via SSH. It uses **[fzf](https://github.com/junegunn/fzf)** to select instances to connect to, and it can be configured with various flags such as the SSH user, Region to find instances and directory where SSH keys are stored.\n\n# Prerequisites\n- Install [FZF](https://github.com/junegunn/fzf#installation)\n- Setup AWS credentials https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-credentials.html\n\n## **Install**\n\n- Download [binaries](https://github.com/umegbewe/ec2-ssh/releases)\n\n- Build:\n```\ngo install github.com/umegbewe/ec2-ssh@latest\n```\n\n## **Usage**\n\nTo use this tool, simply run the **`ec2-ssh`** command and follow the prompts to select the EC2 instance you want to connect to. By default, the tool will use the **`ubuntu`** user to connect, and it will look for SSH keys in the **`~/.ssh`** directory. You can use the following options to customize the tool's behavior:\n\n```text\nUsage:\n\n    ec2-ssh [OPTIONS]\n\nOptions:\n\n    -user: SSH user to login with. Default user is \"ubuntu\".\n\n    -directory: The directory where SSH keys are stored. Default is \"~/.ssh\".\n\n    -region: The region where the EC2 instances are located. Default is \"us-east-1\".\n```\n\nFor example, to connect to an EC2 instance using the **`ec2-user`** user, SSH keys stored in the **`/home/ubuntu/keys`** directory and region **`us-west-2`**, you could use the following command:\n\n```\nec2-ssh -user ec2-user -directory /home/ubuntu/keys -region us-west-2\n```\n\n## **License**\n\nThis tool is released under the MIT License. See **[LICENSE](https://github.com/umegbewe/ec2-ssh/blob/main/LICENSE)** for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumegbewe%2Fec2-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumegbewe%2Fec2-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumegbewe%2Fec2-ssh/lists"}