summaryrefslogtreecommitdiff
path: root/scp.1
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-02-08 16:25:52 +0000
committerColin Watson <cjwatson@debian.org>2019-02-08 16:39:47 +0000
commitf3357d7941c5ccc3d772e4461b1e2d137909670b (patch)
treed9d49a45c6b73a94d5e99a87385a5256c8832582 /scp.1
parentbbf87fe18360e9dabdeb9af0cadff0f8087a5492 (diff)
parent125924e47db3713a85a70e0f8d6c23818d2ea054 (diff)
scp: Check remote->local directory copy filenames
CVE-2019-6111
Diffstat (limited to 'scp.1')
-rw-r--r--scp.112
1 files changed, 11 insertions, 1 deletions
diff --git a/scp.1 b/scp.1
index 0e5cc1b2d..397e77091 100644
--- a/scp.1
+++ b/scp.1
@@ -18,7 +18,7 @@
18.Nd secure copy (remote file copy program) 18.Nd secure copy (remote file copy program)
19.Sh SYNOPSIS 19.Sh SYNOPSIS
20.Nm scp 20.Nm scp
21.Op Fl 346BCpqrv 21.Op Fl 346BCpqrTv
22.Op Fl c Ar cipher 22.Op Fl c Ar cipher
23.Op Fl F Ar ssh_config 23.Op Fl F Ar ssh_config
24.Op Fl i Ar identity_file 24.Op Fl i Ar identity_file
@@ -208,6 +208,16 @@ to use for the encrypted connection.
208The program must understand 208The program must understand
209.Xr ssh 1 209.Xr ssh 1
210options. 210options.
211.It Fl T
212Disable strict filename checking.
213By default when copying files from a remote host to a local directory
214.Nm
215checks that the received filenames match those requested on the command-line
216to prevent the remote end from sending unexpected or unwanted files.
217Because of differences in how various operating systems and shells interpret
218filename wildcards, these checks may cause wanted files to be rejected.
219This option disables these checks at the expense of fully trusting that
220the server will not send unexpected filenames.
211.It Fl v 221.It Fl v
212Verbose mode. 222Verbose mode.
213Causes 223Causes