scp

Copy a file or directory over SSH.

Syntax

scp <local> <remote> <host> <user> <to> [port INTEGER]

Parameters

local: The path and name of the file on the local device to copy to or from.

remote: The path and name of the file on the remote host to copy to or from.

host: The hostname or IP address of the remote host.

user: The username to use when connecting to the remote host.

to: Determine whether to copy the file from the local device to the remote host, or from the remote host to the local device.

port: The SSH port to use to connect to the remote host. (Minimum: 1, Maximum: 65535, Default: 22)

 

© 2024 Digi International Inc. All rights reserved.
scp updated on 04 Oct 2023 09:32 AM