The stuff I do

Scp

← Notes

Tags: [bash][scp]

Basically the same syntax as cp (i.e. scp [source] [dest])

# Local to remote
scp ./local/path [email protected]:/home/user

# Remote to local
scp [email protected]:/home/user ./local/path

Useful options 🔗

OptionUsage
-rCopy directories
-iProvide identity file
-PSpecify port

← Notes