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

Re: [PATCH] Ensure that SSH runs in non-interactive mode

From
FTFredrik Tolf <fredrik@dolda2000.com>
Date
Jul 19, 2008, 18:18 UTC
Message-ID
<1216491512.3911.9.camel@pc7.dolda2000.com>
In-Reply-To
<1216490252.10694.58.camel@koto.keithp.com>
On Sat, 2008-07-19 at 10:57 -0700, Keith Packard wrote:
Show 7 quoted lines
> On Sat, 2008-07-19 at 19:06 +0200, Fredrik Tolf wrote:
> >  By removing the DISPLAY env variable before forking, SSH
> > can thus be forced into non-interactive mode, without any obvious
> > ill effects.
> 
> This will keep ssh-askpass from using any X-based password input
> program.

Ah, right. Would it be OK to add the `-x' flag to ssh instead? I imagine that that might make git less portable to SSH implementations other than OpenSSH, but I don't know if that is considered a problem.

Fredrik Tolf
Previous: Keith PackardNext: Johannes Schindelin
Message 4 of 16 in “Ensure that SSH runs in non-interactive mode”
  1. Ensure that SSH runs in non-interactive modeFredrik Tolf, Jul 19, 2008
  2. Mike HommeyJul 19, 2008
  3. Keith PackardJul 19, 2008
  4. Fredrik TolfJul 19, 2008
  5. Johannes SchindelinJul 20, 2008
  6. Fredrik TolfJul 20, 2008
  7. Johannes SchindelinJul 20, 2008
  8. Fredrik TolfJul 20, 2008
  9. Junio C HamanoJul 20, 2008
  10. Johannes SchindelinJul 20, 2008
  11. Junio C HamanoJul 20, 2008
  12. Johannes SchindelinJul 20, 2008
  13. Steffen ProhaskaJul 21, 2008
  14. Jeff KingJul 21, 2008
  15. Mike HommeyJul 21, 2008
  16. Jeff KingJul 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.