Skip to content

Instantly share code, notes, and snippets.

@jwood
Created April 19, 2013 15:47
Show Gist options
  • Save jwood/5421215 to your computer and use it in GitHub Desktop.
Save jwood/5421215 to your computer and use it in GitHub Desktop.
capssh Usage
# SSH to one of the production servers
capssh -e production
# Shortcut for SSHing into one of the production servers
capssh production
# SSH to the production server that is in the db role
capssh -e production -r db
# If you only have one server defined, you can connect to it by simply running capssh
capssh
# SSH to the production server and kick off the Rails console
capssh -e production -c
# See all available options
capssh -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment