summaryrefslogtreecommitdiffstats
path: root/scp.1
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-08-03 04:43:41 +0200
committerDamien Miller <djm@mindrot.org>2020-08-03 06:27:59 +0200
commita8732d74cb8e72f0c6366015687f1e649f60be87 (patch)
treeb2d792042a526741fed21539ec6490629792b1d3 /scp.1
parentupstream: clang -Wimplicit-fallthrough does not recognise /* (diff)
downloadopenssh-a8732d74cb8e72f0c6366015687f1e649f60be87.tar.xz
openssh-a8732d74cb8e72f0c6366015687f1e649f60be87.zip
upstream: allow -A to explicitly enable agent forwarding in scp and
sftp. The default remains to not forward an agent, even when ssh_config enables it. ok jmc dtucker markus OpenBSD-Commit-ID: 36cc526aa3b0f94e4704b8d7b969dd63e8576822
Diffstat (limited to 'scp.1')
-rw-r--r--scp.111
1 files changed, 8 insertions, 3 deletions
diff --git a/scp.1 b/scp.1
index d5f65af4e..feb839e9c 100644
--- a/scp.1
+++ b/scp.1
@@ -8,9 +8,9 @@
.\"
.\" Created: Sun May 7 00:14:37 1995 ylo
.\"
-.\" $OpenBSD: scp.1,v 1.89 2020/04/30 18:28:37 jmc Exp $
+.\" $OpenBSD: scp.1,v 1.90 2020/08/03 02:43:41 djm Exp $
.\"
-.Dd $Mdocdate: April 30 2020 $
+.Dd $Mdocdate: August 3 2020 $
.Dt SCP 1
.Os
.Sh NAME
@@ -18,7 +18,7 @@
.Nd OpenSSH secure file copy
.Sh SYNOPSIS
.Nm scp
-.Op Fl 346BCpqrTv
+.Op Fl 346ABCpqrTv
.Op Fl c Ar cipher
.Op Fl F Ar ssh_config
.Op Fl i Ar identity_file
@@ -86,6 +86,11 @@ to use IPv4 addresses only.
Forces
.Nm
to use IPv6 addresses only.
+.It Fl A
+Allows forwarding of
+.Xr ssh-agent 1
+to the remote system.
+The default is not to forward an authentication agent.
.It Fl B
Selects batch mode (prevents asking for passwords or passphrases).
.It Fl C