Created
December 18, 2013 16:48
-
-
Save calebreister/8025631 to your computer and use it in GitHub Desktop.
This is how you use the scp (secure copy) command to move a file to your SSH server, for instance a --bare Git repo.
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
scp -P22 -r local_file username@remote_url:/remote/directory/ | |
#P22 is port 22, which SSH uses |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment