git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 6 of 8 in “Ensure that SSH runs in non-interactive mode”
  1. Ensure that SSH runs in non-interactive modeFredrik Tolf, Jul 21, 2008
  2. Johannes SchindelinJul 21, 2008
  3. Fredrik TolfJul 21, 2008
  4. Jakub NarebskiJul 21, 2008
  5. Johannes SchindelinJul 21, 2008
  6. Jeff KingJul 21, 2008
  7. Johannes SchindelinJul 21, 2008
  8. Fredrik TolfJul 21, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.