diff options
author | jcs@openbsd.org <jcs@openbsd.org> | 2015-11-15 23:26:49 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-11-16 01:31:39 +0100 |
commit | f361df474c49a097bfcf16d1b7b5c36fcd844b4b (patch) | |
tree | 493beb15e73f9b57f42244e8c927bdf75480188f /readconf.h | |
parent | upstream commit (diff) | |
download | openssh-f361df474c49a097bfcf16d1b7b5c36fcd844b4b.tar.xz openssh-f361df474c49a097bfcf16d1b7b5c36fcd844b4b.zip |
upstream commit
Add an AddKeysToAgent client option which can be set to
'yes', 'no', 'ask', or 'confirm', and defaults to 'no'. When enabled, a
private key that is used during authentication will be added to ssh-agent if
it is running (with confirmation enabled if set to 'confirm').
Initial version from Joachim Schipper many years ago.
ok markus@
Upstream-ID: a680db2248e8064ec55f8be72d539458c987d5f4
Diffstat (limited to 'readconf.h')
-rw-r--r-- | readconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/readconf.h b/readconf.h index 6d6927f06..2034bfd9d 100644 --- a/readconf.h +++ b/readconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.h,v 1.111 2015/09/24 06:15:11 djm Exp $ */ +/* $OpenBSD: readconf.h,v 1.112 2015/11/15 22:26:49 jcs Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -100,6 +100,8 @@ typedef struct { int certificate_file_userprovided[SSH_MAX_CERTIFICATE_FILES]; struct sshkey *certificates[SSH_MAX_CERTIFICATE_FILES]; + int add_keys_to_agent; + /* Local TCP/IP forward requests. */ int num_local_forwards; struct Forward *local_forwards; |