Go to main content

Managing Remote Systems in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020

Remote Copying With the scp Command

The scp command copies files or directories between a local and a remote system or between two remote systems. You can use this command from a remote system (after logging in with the ssh command) or from the local system. The scp command uses ssh for data transfer. Thus, the scp command uses the same authentication and provides the same security as the ssh command.

    With scp, you can perform the following remote copy operations:

  • Copy a file or directory from your local system to a remote system

  • Copy a file or directory from a remote system to your local system

  • Copy a file or directory between remote systems from your local system