Just like IdentityAgent;  tested with `-o ForwardAgent='~/test.sock'`.

OK?

Index: ssh_config.5
===================================================================
RCS file: /cvs/src/usr.bin/ssh/ssh_config.5,v
retrieving revision 1.373
diff -u -p -r1.373 ssh_config.5
--- ssh_config.5        24 Jun 2022 04:27:14 -0000      1.373
+++ ssh_config.5        24 Jul 2022 18:45:48 -0000
@@ -748,6 +748,15 @@ an explicit path to an agent socket or t
 .Sq $ )
 in which to find the path.
 .Pp
+Arguments to
+.Cm ForwardAgent
+may use the tilde syntax to refer to a user's home directory,
+the tokens described in the
+.Sx TOKENS
+section and environment variables as described in the
+.Sx ENVIRONMENT VARIABLES
+section.
+.Pp
 Agent forwarding should be enabled with caution.
 Users with the ability to bypass file permissions on the remote host
 (for the agent's Unix-domain socket)

Reply via email to