Skip to content

Instantly share code, notes, and snippets.

@MrChebik
Created May 22, 2017 15:51
Show Gist options
  • Save MrChebik/0e3662f9894a0a1df2c74bd318c2bb65 to your computer and use it in GitHub Desktop.
Save MrChebik/0e3662f9894a0a1df2c74bd318c2bb65 to your computer and use it in GitHub Desktop.
scp -r root@192.168.0.2:/home2/ /home/
scp root@192.168.0.1:/home/file1.zip root@192.168.0.2:/home2/
-r -- recursive
-P port -- non-standart port (22)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment