[Bug 2824] Add a configuration option / hook that will enable running a shell command / script right before connecting

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Feb 7 07:38:17 AEDT 2018


--- Comment #9 from Doron Behar <doron.behar at gmail.com> ---
That could have been an interesting workaround but for some reason it
I tried to add this line to my `~/.ssh/config`:

        Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"

So that for every host ssh will run this command but I still get this
when I switch tty (inside tmux of course):

        sign_and_send_pubkey: signing failed: agent refused operation

You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list