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 [email protected]
# first it might ask for a password for the root user but that is actually for [email protected]
# then press Ctrl+D to continue if it opens an interactive ssh session on the production server
# alternatively use env.gateway = '[email protected]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment