Last active
August 29, 2015 14:04
-
-
Save balazs-endresz/19a816115900a123614f to your computer and use it in GitHub Desktop.
ssh through a remote server with fabric
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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