-
If you want to copy a directory from machine a to b while logged into a:
scp -r /path/to/directory user@ipaddress:/path/to/destination
-
If you want to copy a directory from machine a to b while logged into b:
scp -r user@ipaddress:/path/to/directory /path/to/destination
Created
January 8, 2021 14:02
-
-
Save reanim8ed/9d64a9616173a1f41a0eb245f4a536f8 to your computer and use it in GitHub Desktop.
[Copy directory via ssh to PC] #linux #ssh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment