Re: [PATCH] Ensure that SSH runs in non-interactive mode
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 20, 2008, 18:33 UTC
- Message-ID
- <alpine.DEB.1.00.0807202029310.3305@eeepc-johanness>
- In-Reply-To
- <1216576183.3673.2.camel@pc7.dolda2000.com>
Hi,
On Sun, 20 Jul 2008, Fredrik Tolf wrote:
Show 16 quoted lines
> On Sun, 2008-07-20 at 12:27 +0200, Johannes Schindelin wrote: > > > Well, this was to be expected, after what I wrote in response to 3. in > > http://thread.gmane.org/gmane.comp.version-control.git/76650/focus=2598 > > > > Reality always catches up with you, and here again we see that plink > > and other siblings of OpenSSH should be best handled with scripts, > > preferably ones that strip out options they do not recognize. > > Otherwise, an alternative may be to always install a script, say > `git-ssh', that would invoke the real SSH in a manner specific for the > platform. The exact script installed could even be parametrized by the > Makefile. For systems using OpenSSH, it would probably just consist of > `ssh -xT "$@"'. > > What do you think?
Umm, why? I fully expect OpenSSH to be the most common ssh helper. I fail to see why we should optimize for something else.
The GIT_SSH solution works. Why not just leave things like they are?
Ciao, Dscho