Re: [PATCH v2] Ensure that SSH runs in non-interactive mode
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 21, 2008, 11:22 UTC
- Message-ID
- <alpine.DEB.1.00.0807211221310.8986@racer>
- In-Reply-To
- <20080721110436.GA8395@sigill.intra.peff.net>
Hi,
On Mon, 21 Jul 2008, Jeff King wrote:
Show 16 quoted lines
> 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 %{!?<var>:<expansion>} 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