- Node.JS of any recent vintage
- SSH keys stored in
~/.ssh/
and named after the AWS keypairs ~/.aws/config
file with credentials (details)- For a good experience, include the region
npm install -g sugar-ssh
sugar <instance filter>
sugar <instance filter>@<profile>
sugar -f <port to forward> <instance filter>
If multiple instances match the filter, and they appear similar (based on Name), then one will be randomly chosen.
sugar http
sugar postgres@prod
sugar forward 8000 webserv@prod