Re: [PATCH v2] Ensure that SSH runs in non-interactive mode
- From
Jeff King <peff@peff.net>
- Date
- Jul 21, 2008, 11:04 UTC
- Message-ID
- <20080721110436.GA8395@sigill.intra.peff.net>
- In-Reply-To
- <alpine.DEB.1.00.0807211255010.3305@eeepc-johanness>
On Mon, Jul 21, 2008 at 12:56:14PM +0200, Johannes Schindelin wrote:
Show 10 quoted lines
> > 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.
-Peff