Last active
August 29, 2015 14:07
-
-
Save paulghaddad/0e33ed80956123e60652 to your computer and use it in GitHub Desktop.
Level UP 1: Transferring Files Between Boxes
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
# SSH into remote host | |
ssh cnuapp@local.dev.cashnetusa.com | |
# SCP text file to remote host's tmp directory | |
scp phaddad.txt cnuapp@local.dev.cashnetusa.com:/tmp | |
# Delete local copy | |
rm phaddad.txt | |
# Move remote copy back to local machine | |
scp cnuapp@local.dev.cashnetusa.com:/tmp/phaddad.txt . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment