Secure copy or SCP is a means of securely transferring computer files between a local host and a remote host or between two remote hosts. It is based on the Secure Shell (SSH) protocol.
The below is the syntax
From source to remote host or remote system
# scp SourceFile user@host:directory/TargetFile
From host to Local system
The below is the syntax
From source to remote host or remote system
# scp SourceFile user@host:directory/TargetFile
From host to Local system
scp user@host:directory/SourceFile TargetFile scp -r user@host:directory/SourceFolder TargetFolder
0 comments:
Post a Comment