Re: Git GUI vs interactive post-commit hooks
- From
Jeff King <peff@peff.net>
- Date
- May 20, 2008, 23:16 UTC
- Message-ID
- <20080520231631.GB22934@sigill.intra.peff.net>
- In-Reply-To
- <20080520230204.GA5383@atjola.homenet>
On Wed, May 21, 2008 at 01:02:04AM +0200, Björn Steinbrink wrote:
Show 7 quoted lines
> > Redirect stdin from /dev/null > > Does that actually work for you? It didn't work for me, because ssh then > simply goes and opens /dev/tty to ask for the password. > > $ ssh -V > OpenSSH_4.7p1 Debian-10, OpenSSL 0.9.8g 19 Oct 2007
I had to perform this same task a few weeks ago, and ended up using 'setsid' to get rid of the controlling tty. You may also need to unset SSH_ASKPASS and DISPLAY.
-Peff