diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2019-12-21 02:19:14 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2019-12-21 02:19:14 +0000 |
commit | ca9d78e5ab97e829184267f11c8d8cf5053d1fb4 (patch) | |
tree | e0e47372762017f21e852e4d840c83ca03dbfd94 /usr.bin/ssh/authfd.h | |
parent | e2aed18bef0d9db54bed39a75261e64679857a12 (diff) |
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@
Diffstat (limited to 'usr.bin/ssh/authfd.h')
-rw-r--r-- | usr.bin/ssh/authfd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/authfd.h b/usr.bin/ssh/authfd.h index 443771a000c..c3bf6259aa9 100644 --- a/usr.bin/ssh/authfd.h +++ b/usr.bin/ssh/authfd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: authfd.h,v 1.47 2019/10/31 21:19:15 djm Exp $ */ +/* $OpenBSD: authfd.h,v 1.48 2019/12/21 02:19:13 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -24,6 +24,7 @@ struct ssh_identitylist { }; int ssh_get_authentication_socket(int *fdp); +int ssh_get_authentication_socket_path(const char *authsocket, int *fdp); void ssh_close_authentication_socket(int sock); int ssh_lock_agent(int sock, int lock, const char *password); |