Created
February 26, 2020 13:02
-
-
Save BenSlabbert/bdbb5bb3df80a92f5ddf38fc10d7753d to your computer and use it in GitHub Desktop.
scp file from remote to local with ssh id key
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
| #!/bin/sh | |
| scp -i SSH_PEM_KEY USERNAME@IP_ADDRESS:PATH_TO_FILE PATH_TO_DESTINATION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment