Home Explore Blog CI



man-pages

2nd chunk of `scp.man`
c441b2a9903a3846fca37c61cb3a9b27c1e2fa710b90cf350000000100000df3
 the target host by first making an scp connection  to
               the  jump  host described by destination and then establishing a
               TCP forwarding to the ultimate destination from there.  Multiple
               jump hops may be specified separated by comma characters.   This
               is  a  shortcut  to specify a ProxyJump configuration directive.
               This option is directly passed to ssh(1).

       -l limit
               Limits the used bandwidth, specified in Kbit/s.

       -O      Use the legacy SCP protocol for file transfers  instead  of  the
               SFTP  protocol.  Forcing the use of the SCP protocol may be nec‐
               essary for servers that do not implement  SFTP,  for  backwards‐
               compatibility  for particular filename wildcard patterns and for
               expanding paths with a ‘~’ prefix for older SFTP servers.

       -o ssh_option
               Can be used to pass  options  to  ssh  in  the  format  used  in
               ssh_config(5).   This is useful for specifying options for which
               there is no separate scp command‐line flag.  For full details of
               the  options  listed  below,  and  their  possible  values,  see
               ssh_config(5).

                     AddressFamily
                     BatchMode
                     BindAddress
                     BindInterface
                     CanonicalDomains
                     CanonicalizeFallbackLocal
                     CanonicalizeHostname
                     CanonicalizeMaxDots
                     CanonicalizePermittedCNAMEs
                     CASignatureAlgorithms
                     CertificateFile
                     CheckHostIP
                     Ciphers
                     Compression
                     ConnectionAttempts
                     ConnectTimeout
                     ControlMaster
                     ControlPath
                     ControlPersist
                     GlobalKnownHostsFile
                     GSSAPIAuthentication
                     GSSAPIDelegateCredentials
                     HashKnownHosts
                     Host
                     HostbasedAcceptedAlgorithms
                     HostbasedAuthentication
                     HostKeyAlgorithms
                     HostKeyAlias
                     Hostname
                     IdentitiesOnly
                     IdentityAgent
                     IdentityFile
                     IPQoS
                     KbdInteractiveAuthentication
                     KbdInteractiveDevices
                     KexAlgorithms
                     KnownHostsCommand
                     LogLevel
                     MACs
                     NoHostAuthenticationForLocalhost
                     NumberOfPasswordPrompts
                     PasswordAuthentication
                     PKCS11Provider
                     Port
                     PreferredAuthentications
                     ProxyCommand
                     ProxyJump
                     PubkeyAcceptedAlgorithms
                     PubkeyAuthentication
                     RekeyLimit
                     RequiredRSASize
                     SendEnv
                     ServerAliveInterval
                     ServerAliveCountMax
                     SetEnv
                     StrictHostKeyChecking
                     TCPKeepAlive
                     UpdateHostKeys
                     User
                     UserKnownHostsFile
                     VerifyHostKeyDNS

 

Title: SCP Command Options: -J, -l, -O, and -o
Summary
This section details specific options for the `scp` command. It covers using `-J` to connect to a target host via a jump host, `-l` to limit bandwidth, `-O` to force the legacy SCP protocol, and `-o` to pass options directly to the underlying `ssh` command. The `-o` option is particularly useful for configuring various SSH parameters, and a list of available SSH configuration options like AddressFamily, BatchMode, Ciphers, Hostname, and more is provided.