Volker Diels-Grabsch
2016-Aug-29 14:33 UTC
[PATCH] Add ssh_config option ExecRemoteCommand which is equivalent to -N
Dear OpenSSH developers, I hope you don't mind that I resubmit my patch for OpenSSH. This patch adds a new ssh_config option "ExecRemoteCommand", which is the missing equivalent to the "-N" command line option. For implementation notes, please have a look at the top of the patch. Regards, Volker -- Volker Diels-Grabsch ----<<<((()))>>>---- -------------- next part -------------- A non-text attachment was scrubbed... Name: openssh-7.3p1_exec_remote_command_v1.patch Type: text/x-diff Size: 8148 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20160829/ed1281f0/attachment.bin>
Aris Adamantiadis
2016-Aug-29 21:08 UTC
[PATCH] Add ssh_config option ExecRemoteCommand which is equivalent to -N
Hi Volker, Why "ExecRemoteCommand" ? I often use -N with port forwardings which have nothing to do with executing a remote command. Why not "NoShell" ? Aris On 29/08/16 16:33, Volker Diels-Grabsch wrote:> Dear OpenSSH developers, > > I hope you don't mind that I resubmit my patch for OpenSSH. > > This patch adds a new ssh_config option "ExecRemoteCommand", which is > the missing equivalent to the "-N" command line option. > > For implementation notes, please have a look at the top of the patch. > > > Regards, > Volker > > > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 859 bytes Desc: OpenPGP digital signature URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20160829/66e84536/attachment.bin>
Darren Tucker
2016-Aug-30 00:08 UTC
[PATCH] Add ssh_config option ExecRemoteCommand which is equivalent to -N
On Tue, Aug 30, 2016 at 7:08 AM, Aris Adamantiadis <aris at 0xbadc0de.be> wrote:> Why "ExecRemoteCommand"Probably defaults to yes with "ExecRemoteCommand no" to act like -N. If we're going to do this (and I'm not sure about it) then maybe we could do it via the proposed RemoteCommand [0] option as "RemoteCommand none" rather than another option. [0] https://bugzilla.mindrot.org/show_bug.cgi?id=2103 -- Darren Tucker (dtucker at zip.com.au) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new) Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.