[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
Thu Feb 7 05:50:58 AEDT 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=2824

Svyatoslav I. Maslennikov <linkxscmp+mindrot at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |linkxscmp+mindrot at gmail.com

--- Comment #11 from Svyatoslav I. Maslennikov <linkxscmp+mindrot at gmail.com> ---
(In reply to Doron Behar from comment #9)
> That could have been an interesting workaround but for some reason
> it doesn't
> work.
> 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 response
> when I switch tty (inside tmux of course):
> 
> 	sign_and_send_pubkey: signing failed: agent refused operation

Doron,

This exact line actually worked perfectly for me.

-- 
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