Scp
← Notes
Tags: [bash][scp]
Basically the same syntax as cp
(i.e. scp [source] [dest]
)
scp ./local/path user@remote-host:/home/user
scp user@remote-host:/home/user ./local/path
Useful options
Option | Usage |
---|
-r | Copy directories |
-i | Provide identity file |
-P | Specify port |
← Notes
Back to top