Skip to content

Instantly share code, notes, and snippets.

@balazs-endresz
Last active August 29, 2015 14:04
Show Gist options
  • Save balazs-endresz/19a816115900a123614f to your computer and use it in GitHub Desktop.
Save balazs-endresz/19a816115900a123614f to your computer and use it in GitHub Desktop.
ssh through a remote server with fabric
fab pull_data_from_production --gateway user@mygateway.com
# first it might ask for a password for the root user but that is actually for user@mygateway.com
# then press Ctrl+D to continue if it opens an interactive ssh session on the production server
# alternatively use env.gateway = 'user@mygateway.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment