Published on November 19, 2017 by ProgrammingKnowledge

Some time you may wonder In Unix, how do I securely transfer files between two Linux computers? So generally we use scp command to Securely Transfer Files/Folders in Linux (e.g. Ubuntu, Cent OS, Fedora, Linux mint ..). scp stands for “secure copy.”

scp syntax

scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 … [[user@]host2:]file2

————————-Follow——————-
My Website – www.codebind.com
My Blog – goo.gl/Nd2pFn
My Facebook Page – goo.gl/eLp2cQ
Google+ – goo.gl/lvC5FX
Twitter – twitter.com/ProgrammingKnow
Pinterest – goo.gl/kCInUp
Text Case Converter – goo.gl/pVpcwL
Epoch Timestamp Converter – goo.gl/Zedjo5
Decimal – Binary – Hexadecimal Converter – goo.gl/rkX3JE
8-bit Checksum Calculator – goo.gl/inxvIT

Leave a Reply

5 Comments on "scp command – SCP to Securely Transfer Files/Folders in Linux"

Notify of
avatar

Pratheep Kumar
Guest
Pratheep Kumar
2 months 7 days ago

You're explanation was nice , but I didn't understand the last thing you said "port" …

Mukesh Singh
Guest
Mukesh Singh
3 months 8 hours ago

It gave me an error : Permission denied (Public key). Does it mean that I have to set up the ssh key in the remote machine that I create in my host machine ? thanks

Gorakhnath Choudhari
Guest
Gorakhnath Choudhari
5 months 28 days ago

Nice

Gorakhnath Choudhari
Guest
Gorakhnath Choudhari
5 months 28 days ago

Nice

Alexander Zotov
Guest
Alexander Zotov
6 months 1 day ago

Great tutorial!

wpDiscuz