AddKeysToAgent break local forwarding (and possibly more)

Christian Hesse list at
Wed Nov 18 18:57:05 AEDT 2015

Hello everybody,

current git breaks local forwarding (and possibly more). Looks like the
option in ignored completely. I bisected the issue and found this commit to be
the culprit:

commit f361df474c49a097bfcf16d1b7b5c36fcd844b4b
Author: jcs at <jcs at>
Date:   Sun Nov 15 22:26:49 2015 +0000

    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
    Initial version from Joachim Schipper many years ago.
    ok markus@
    Upstream-ID: a680db2248e8064ec55f8be72d539458c987d5f4

Giving an extra '-o AddKeysToAgent=yes' makes the local forwarding work
again, but I suppose that's not the expected behavior. ;)
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the openssh-unix-dev mailing list