Last active
October 5, 2017 16:29
-
-
Save kkiernan/0ebe87ca1237158f74c0 to your computer and use it in GitHub Desktop.
Secure copy files from server to local machine using ssh alias
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
#!/usr/bin/bash | |
# Copy a directory from the server to the local machine. | |
scp -r some-server:/some/server/path/ /some/local/path/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment