From: Johannes Schindelin Date: Mon, 21 Jul 2008 11:22:20 GMT Subject: Re: [PATCH v2] Ensure that SSH runs in non-interactive mode Message-ID: In-Reply-To: <20080721110436.GA8395@sigill.intra.peff.net> Hi, On Mon, 21 Jul 2008, Jeff King wrote: > On Mon, Jul 21, 2008 at 12:56:14PM +0200, Johannes Schindelin wrote: > > > > or syntax used in RPM spec macros > > > > > > %{?p:-P %p} > > > > > > (and there is complementing %{!?:} in RPM spec macro > > > language). > > > > Yes, this is overkill. I would even have passed the port argument > > _always_, since the port 22 for ssh is as likely to change as hell will > > not freeze over. Actually, I am not so sure about the latter. > > But keep in mind that "-p 22" on the command line _overrides_ what the > user has in their ssh config, so it is not a good idea to pass it all > the time. Oh, good point. So we might need something distasteful as what Jakub proposed... Hrmpf. Ciao, Dscho