SCP

When the server enabled SSH service, we can use the scp command to copy files/directories remotely.

Syntax:

scp {src_account@ip}:{src_path} {dst_account@ip}:{dst_path}
# Option
# -i : cert for login
# -P : Port number
# -r : recursive, for directory
# -C : compress before transmit
# -l : limit transmit rate, in Kbit/s

Reference

Last updated

Was this helpful?