Re: [PATCH] Ensure that SSH runs in non-interactive mode
- From
- Fredrik 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