https://bugzilla.mindrot.org/show_bug.cgi?id=2621
Matthijs Kooijman <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Matthijs Kooijman <[email protected]> --- This seems a more general problem: Agent forwarding seems only to happen when starting a new ControlMaster. If ssh re-uses an existing ControlMaster, the -A option seems to be (silently!) ignored: Passing -A to the master works: matthijs@grubby:~$ ssh tika-login -o ControlMaster=yes -o ControlPath=/tmp/foo -A matthijs@login:~$ echo $SSH_AUTH_SOCK /tmp/ssh-Kmwf42CH18/agent.3830 matthijs@login:~$ logout Connection to tikatika.nl closed. But passing -A to a "slave" ssh does not: matthijs@grubby:~$ ssh tika-login -o ControlMaster=yes -o ControlPath=/tmp/foo And in another terminal: matthijs@grubby:~$ ssh -o ControlPath=/tmp/foo tika-login -A matthijs@login:~$ echo $SSH_AUTH_SOCK matthijs@login:~$ I can imagine there's a technical reason to not support this, but then at least it should be documented and passing -A should show an error or warning (possibly depending on ExitOnForwardFailure). -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
