Feature request: "SetupCommand" invoked before connecting

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Jul 20 06:30:13 EST 2010


On 07/17/2010 07:38 PM, Helmut Grohne wrote:
> I proposed a SetupCommand earlier and got a few responses. Both Daniel
> Kahn Gillmor and Jameson Rollins were in favour of merging my patch.
> However the merge did not happen so far. What is keeping you from
> merging it?

Neither Jameson nor myself has commit access to the canonical OpenSSH
repo, so we simply can't do any merges.

You pointed out that the main reason you didn't want to use ProxyCommand
for this was because TcpKeepAlive (and some other options?) would
therefore have no effect.

However, a patch for #1766 (exporting the ssh config to child processes)
would allow you to propagate the relevant choices to the ProxyCommand:

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

Fixing 1766 would also enable fixes to other bugs (like #1233), so it
seems more generically useful to me than a specific SetupCommand hook,
which only solves your particular problem.

I recommend filing your SetupCommand patch as an issue in
https://bugzilla.mindrot.org/ so there is a canonical place for public
commentary.

Regards,

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 892 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100719/66163b02/attachment.bin>


More information about the openssh-unix-dev mailing list