Skip to content

Instantly share code, notes, and snippets.

@dbaba
Created July 3, 2014 02:41
Show Gist options
  • Save dbaba/0678d88855fbe130e73b to your computer and use it in GitHub Desktop.
Save dbaba/0678d88855fbe130e73b to your computer and use it in GitHub Desktop.
SCP to a Boot2docker instance
scp -i ~/.ssh/id_boot2docker -P 2022 file-to-upload docker@localhost:~
@lolski
Copy link

lolski commented Oct 16, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment