Skip to content
/ sugar Public
forked from scopely/sugar

AWS EC2 SSH tool for easy access to all of your instances with a simple shell command

Notifications You must be signed in to change notification settings

macadada/sugar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sugar SSH

Requirements

  • 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

Installation and Updating

npm install -g sugar-ssh

Usage

  • 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.

Examples

  • sugar http
  • sugar postgres@prod
  • sugar forward 8000 webserv@prod

About

AWS EC2 SSH tool for easy access to all of your instances with a simple shell command

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%