All Projects → glassechidna → Ec2connect

glassechidna / Ec2connect

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Ec2connect

Bastillion Ec2
A web-based SSH console to execute commands and manage multiple EC2 instances simultaneously running on Amazon Web Services (AWS).
Stars: ✭ 410 (+673.58%)
Mutual labels:  aws, ec2, ssh
Aws Gate
Better AWS SSM Session manager CLI client
Stars: ✭ 294 (+454.72%)
Mutual labels:  aws, ec2, ssh
Bridgy
cloud inventory + ssh + tmux + sshfs
Stars: ✭ 374 (+605.66%)
Mutual labels:  aws, ec2, ssh
Gossm
💻Interactive CLI tool that you can connect to ec2 using commands same as start-session, ssh in AWS SSM Session Manager
Stars: ✭ 192 (+262.26%)
Mutual labels:  aws, ec2, ssh
Gbt
Highly configurable prompt builder for Bash, ZSH and PowerShell written in Go.
Stars: ✭ 457 (+762.26%)
Mutual labels:  aws, ssh
Aegea
Amazon Web Services Operator Interface
Stars: ✭ 51 (-3.77%)
Mutual labels:  aws, ec2
Moto
A library that allows you to easily mock out tests based on AWS infrastructure.
Stars: ✭ 5,428 (+10141.51%)
Mutual labels:  aws, ec2
Geodesic
🚀 Geodesic is a DevOps Linux Distro. We use it as a cloud automation shell. It's the fastest way to get up and running with a rock solid Open Source toolchain. ★ this repo! https://slack.cloudposse.com/
Stars: ✭ 629 (+1086.79%)
Mutual labels:  aws, ec2
Aws
A collection of bash shell scripts for automating various tasks with Amazon Web Services using the AWS CLI and jq.
Stars: ✭ 493 (+830.19%)
Mutual labels:  aws, ec2
Ecs Refarch Continuous Deployment
ECS Reference Architecture for creating a flexible and scalable deployment pipeline to Amazon ECS using AWS CodePipeline
Stars: ✭ 776 (+1364.15%)
Mutual labels:  aws, ec2
Jungle
AWS operations by cli should be simpler
Stars: ✭ 842 (+1488.68%)
Mutual labels:  aws, ec2
Aws Ec2 Ssh
Manage AWS EC2 SSH access with IAM
Stars: ✭ 796 (+1401.89%)
Mutual labels:  aws, ssh
Aws Scalable Big Blue Button Example
Demonstration of how to deploy a scalable video conference solution based on Big Blue Button
Stars: ✭ 29 (-45.28%)
Mutual labels:  aws, ec2
Rattlesnakeos Stack
Build your own privacy and security focused Android OS in the cloud.
Stars: ✭ 490 (+824.53%)
Mutual labels:  aws, ec2
Ec2instances.info
Amazon EC2 instance comparison site
Stars: ✭ 3,619 (+6728.3%)
Mutual labels:  aws, ec2
Aws Security Viz
Visualize your aws security groups.
Stars: ✭ 511 (+864.15%)
Mutual labels:  aws, ec2
Xiringuito
SSH-based "VPN for poors"
Stars: ✭ 969 (+1728.3%)
Mutual labels:  aws, ssh
aws-ssm-ec2-proxy-command
AWS SSM EC2 SSH Proxy Command
Stars: ✭ 115 (+116.98%)
Mutual labels:  ssh, ec2
Spark Jupyter Aws
A guide on how to set up Jupyter with Pyspark painlessly on AWS EC2 clusters, with S3 I/O support
Stars: ✭ 259 (+388.68%)
Mutual labels:  aws, ec2
Opscloud
运维管理平台(阿里云),自动同步阿里云配置信息,堡垒机(容器),批量运维,Kubernetes,Zabbix管理等功能
Stars: ✭ 788 (+1386.79%)
Mutual labels:  aws, ssh

ec2connect

render1561718563616

In June 2019, AWS released EC2 Instance Connect - a way of authenticating SSH sessions using AWS IAM policies. This massively improves security by removing the need for sharing SSH private keys. It also improves reliability by removing the need for any workarounds to avoid sharing keys!

AWS did release an mssh tool, but it's not as nice as it could be. ec2connect improves upon it:

  • Doesn't require Python to be installed. Single binary available for Mac, Linux and Windows.
  • Doesn't require a new command to be remembered - just ssh [email protected] as normal.
  • Integrates nicely with every other tool - any tool that relies on SSH (e.g. git) will work out of the box due to the above.

Installation

  • Mac: brew install glassechidna/taps/ec2connect
  • Windows: scoop bucket add glassechidna https://github.com/glassechidna/scoop-bucket.git; scoop install ec2connect
  • Otherwise get the latest build from the Releases tab.

Usage

On first time usage, run ec2connect setup. This sets up your SSH configuration to use ec2connect to connect to your instances. You only need to run this once.

Now, connect to your instances using ssh <user>@<instance id>. For example:

# regular ssh connection
ssh [email protected]

# in a different region
AWS_REGION=us-west-2 ssh [email protected]

# with a profile
AWS_PROFILE=mycompany ssh [email protected]

# with port-forwarding. the possibilities are endless!
ssh -L 2375:127.0.0.1:2375 [email protected]

Known issues

Right now this tool only works with SSH public keys that are stored on disk or in an SSH agent. What that means in effect is that you can't pass in an identity using ssh -i <pemfile>.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].