scp's Examples

Basic Syntax of SCP Command

scp source_file_name username@destination_host:destination_folder

Provide the detailed information of the SCP process using the -v parameter

pungki@mint ~/Documents $ scp -v Label.pdf mrarianto@@202.x.x.x:.

Provide modification times, access times, and modes from original files

pungki@mint ~/Documents $ scp -p Label.pdf mrarianto@202.x.x.x:.

Make file transfer faster using -C parameter

pungki@mint ~/Documents $ scp -pv messages.log mrarianto@202.x.x.x:.

Change SCP Cipher to Encrypt Files

pungki@mint ~/Documents $ scp -c 3des Label.pdf mrarianto@202.x.x.x:.

mrarianto@202.x.x.x's password:
Label.pdf 100% 3672KB 282.5KB/s 00:13

Limiting Bandwidth Usage with SCP Command

pungki@mint ~/Documents $ scp -l 400 Label.pdf mrarianto@202.x.x.x:.

DevOpsSchool
Typically replies within an hour

DevOpsSchool
Hi there 👋

How can I help you?
×
Chat with Us