From: Jeff King <peff@peff.net>
To: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Cc: Alex Riesen <raa.lkml@gmail.com>,
Alexander Gladysh <agladysh@gmail.com>,
"Shawn O. Pearce" <spearce@spearce.org>,
git@vger.kernel.org
Subject: Re: Git GUI vs interactive post-commit hooks
Date: Tue, 20 May 2008 19:16:31 -0400 [thread overview]
Message-ID: <20080520231631.GB22934@sigill.intra.peff.net> (raw)
In-Reply-To: <20080520230204.GA5383@atjola.homenet>
On Wed, May 21, 2008 at 01:02:04AM +0200, Björn Steinbrink wrote:
> > 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
next prev parent reply other threads:[~2008-05-20 23:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-19 10:48 Git GUI vs interactive post-commit hooks Alexander Gladysh
2008-05-19 13:19 ` Björn Steinbrink
2008-05-19 13:42 ` Alexander Gladysh
2008-05-19 14:11 ` Björn Steinbrink
2008-05-20 22:31 ` Alex Riesen
2008-05-20 23:02 ` Björn Steinbrink
2008-05-20 23:16 ` Jeff King [this message]
2008-05-22 12:53 ` Alex Riesen
2008-05-22 15:12 ` Björn Steinbrink
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080520231631.GB22934@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=B.Steinbrink@gmx.de \
--cc=agladysh@gmail.com \
--cc=git@vger.kernel.org \
--cc=raa.lkml@gmail.com \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).