Wednesday, January 20, 2010

SCP protocol for copying

SCP protocol for copying - Example commands

The SCP protocol is a network protocol that supports file transfers. The SCP program is a software tool implementing the SCP protocol as a service daemon or client. It is a program to perform secure copying.

Typically, a syntax of scp program is like the syntax of cp:

Copying file to host:
scp SourceFile user@host:directory/TargetFile

Copying file from host:
scp user@host:directory/SourceFile TargetFile

Note that if the remote host uses a port other than the default of 22, you can specify it in the command. For example, copying a file from host:
scp -P 2222 user@host:directory/SourceFile TargetFile

Thanks to
visit the web http://www.web-source.net/html_codes_chart.htm
visit the web http://en.wikipedia.org/wiki/Secure_copy#Unix
Thanks to Vijaykumar - Zilogic systems

No comments:

Post a Comment