summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-12-21 02:19:13 +0000
committerDamien Miller <djm@mindrot.org>2019-12-21 13:22:07 +1100
commit40be78f503277bd91c958fa25ea9ef918a2ffd3d (patch)
treeb17303fad21f97437b44cf3264a03abfd503ebdf /ssh_config.5
parent416f15372bfb5be1709a0ad1d00ef5d8ebfb9e0e (diff)
upstream: Allow forwarding a different agent socket to the path
specified by $SSH_AUTH_SOCK, by extending the existing ForwardAgent option to accepting an explicit path or the name of an environment variable in addition to yes/no. Patch by Eric Chiang, manpage by me; ok markus@ OpenBSD-Commit-ID: 98f2ed80bf34ea54d8b2ddd19ac14ebbf40e9265
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.515
1 files changed, 9 insertions, 6 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index dc7a2143d..186e07617 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: ssh_config.5,v 1.311 2019/12/19 15:09:30 naddy Exp $ 36.\" $OpenBSD: ssh_config.5,v 1.312 2019/12/21 02:19:13 djm Exp $
37.Dd $Mdocdate: December 19 2019 $ 37.Dd $Mdocdate: December 21 2019 $
38.Dt SSH_CONFIG 5 38.Dt SSH_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -669,11 +669,14 @@ and
669.It Cm ForwardAgent 669.It Cm ForwardAgent
670Specifies whether the connection to the authentication agent (if any) 670Specifies whether the connection to the authentication agent (if any)
671will be forwarded to the remote machine. 671will be forwarded to the remote machine.
672The argument must be 672The argument may be
673.Cm yes 673.Cm yes ,
674or
675.Cm no 674.Cm no
676(the default). 675(the default),
676an explicit path to an agent socket or the name of an environment variable
677(beginning with
678.Sq $ )
679in which to find the path.
677.Pp 680.Pp
678Agent forwarding should be enabled with caution. 681Agent forwarding should be enabled with caution.
679Users with the ability to bypass file permissions on the remote host 682Users with the ability to bypass file permissions on the remote host