summaryrefslogtreecommitdiff
path: root/scp.0
diff options
context:
space:
mode:
Diffstat (limited to 'scp.0')
-rw-r--r--scp.025
1 files changed, 22 insertions, 3 deletions
diff --git a/scp.0 b/scp.0
index 03157e8b7240..045f1183d8b4 100644
--- a/scp.0
+++ b/scp.0
@@ -4,8 +4,9 @@ NAME
scp M-bM-^@M-^S secure copy (remote file copy program)
SYNOPSIS
- scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
- [-l limit] [-o ssh_option] [-P port] [-S program] source ... target
+ scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file]
+ [-J destination] [-l limit] [-o ssh_option] [-P port] [-S program]
+ source ... target
DESCRIPTION
scp copies files between hosts on a network. It uses ssh(1) for data
@@ -52,6 +53,14 @@ DESCRIPTION
key authentication is read. This option is directly passed to
ssh(1).
+ -J destination
+ Connect to 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.
@@ -141,6 +150,16 @@ DESCRIPTION
Name of program to use for the encrypted connection. The program
must understand ssh(1) options.
+ -T Disable strict filename checking. By default when copying files
+ from a remote host to a local directory scp checks that the
+ received filenames match those requested on the command-line to
+ prevent the remote end from sending unexpected or unwanted files.
+ Because of differences in how various operating systems and
+ shells interpret filename wildcards, these checks may cause
+ wanted files to be rejected. This option disables these checks
+ at the expense of fully trusting that the server will not send
+ unexpected filenames.
+
-v Verbose mode. Causes scp and ssh(1) to print debugging messages
about their progress. This is helpful in debugging connection,
authentication, and configuration problems.
@@ -160,4 +179,4 @@ AUTHORS
Timo Rinne <tri@iki.fi>
Tatu Ylonen <ylo@cs.hut.fi>
-OpenBSD 6.4 September 20, 2018 OpenBSD 6.4
+OpenBSD 6.5 January 26, 2019 OpenBSD 6.5