Last active
August 22, 2018 10:09
-
-
Save thomaspoignant/1ea6ae444cfd9e02c91a6dc774c1aa36 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# This command allow to connect to a database threw a bastion | |
# dns.db.instance = dns to the db instance | |
# user = user to connect via ssh on the bastion | |
# dns.bastion = dns to connect the bastion | |
ssh -i /path/ssh_key/dev.pem -N -L 5432:dns.db.instance:5432 [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment