Scripts to ssh to ec2 instances by tag or name with tmuxinator
- Install tmux
- Install tmuxinator
- Install ec2-ssh
git clone [email protected]:orimarti/ec2-ssh.git
chmod +x ec2-ssh/*
echo "export PATH=$PATH:`pwd`/ec2-ssh/" >> ~/.bashrc
ec2-ssh instance_name
ec2-ssh <tag_name> <tag_value>
If only one instance it's found it will access directly through ssh, if more than one instance is found it will create a tmuxinator template and access through it