diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-12-21 02:19:13 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-12-21 13:22:07 +1100 |
commit | 40be78f503277bd91c958fa25ea9ef918a2ffd3d (patch) | |
tree | b17303fad21f97437b44cf3264a03abfd503ebdf /authfd.h | |
parent | 416f15372bfb5be1709a0ad1d00ef5d8ebfb9e0e (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 'authfd.h')
-rw-r--r-- | authfd.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfd.h,v 1.47 2019/10/31 21:19:15 djm Exp $ */ | 1 | /* $OpenBSD: authfd.h,v 1.48 2019/12/21 02:19:13 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -24,6 +24,7 @@ struct ssh_identitylist { | |||
24 | }; | 24 | }; |
25 | 25 | ||
26 | int ssh_get_authentication_socket(int *fdp); | 26 | int ssh_get_authentication_socket(int *fdp); |
27 | int ssh_get_authentication_socket_path(const char *authsocket, int *fdp); | ||
27 | void ssh_close_authentication_socket(int sock); | 28 | void ssh_close_authentication_socket(int sock); |
28 | 29 | ||
29 | int ssh_lock_agent(int sock, int lock, const char *password); | 30 | int ssh_lock_agent(int sock, int lock, const char *password); |