[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
Tue Jan 30 13:35:14 AEDT 2018


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

--- Comment #6 from Daniel Kahn Gillmor <dkg at fifthhorseman.net> ---
part of the problem might be that ssh is getting confused because the
"OK" from the gpg-connect-agent is going to stdout.

but mainly, your problem is that the proxycommand should take the place
of a TCP connection, not the SSH connection itself.  You don't want ssh
to recursively invoke ssh to the same host here.

try replacing your last line with:

    exec nc "$REMOTE_HOSTNAME" "$REMOTE_PORT"

or the socat equivalent or whatever you like.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list