Skip to content

Instantly share code, notes, and snippets.

@akkefa
Created May 10, 2018 11:46
Show Gist options
  • Save akkefa/4ad205bbb58206ef851c25227514e428 to your computer and use it in GitHub Desktop.
Save akkefa/4ad205bbb58206ef851c25227514e428 to your computer and use it in GitHub Desktop.
Transferring files over SSH
# copy from local machine to remote machine
scp localfile user@host:/path/to/whereyouwant/thefile
# copy from remote machine to local machine
scp user@host:/path/to/remotefile localfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment