Created
July 3, 2014 02:41
-
-
Save dbaba/0678d88855fbe130e73b to your computer and use it in GitHub Desktop.
SCP to a Boot2docker instance
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
scp -i ~/.ssh/id_boot2docker -P 2022 file-to-upload docker@localhost:~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bear in mind that at least in OS X Terminal, some complex file name causes confusion, thinking that the filename is a hostname. e.g. my file is named db_name-Thu\ Oct\ 16\ 14:08:52\ SGT\ 2014, which didn't work and I had to change it to something simpler e.g. abc.sql