git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Ivo Alxneit <ivo.alxneit@psi.ch>
Cc: git@vger.kernel.org
Subject: Re: [BUG/RFC git-gui] password for push/pull in case of git+ssh://repo
Date: Thu, 6 Dec 2007 14:18:12 -0500	[thread overview]
Message-ID: <20071206191812.GA12006@sigill.intra.peff.net> (raw)
In-Reply-To: <1196951517.3294.24.camel@localhost.localdomain>

On Thu, Dec 06, 2007 at 03:31:57PM +0100, Ivo Alxneit wrote:

> when i use git-gui (0.9.0) to push/pull to/from a git+ssh://repo i have
> to supply my password to ssh. i get the password prompt from ssh on the
> controlling shell. as i often use several shells and git-gui might run
> in the background it is rather bothering to find the correct shell where
> ssh expects the password. could this be changed (in a safe way) in
> git-gui e.g. like pinentry pops up a window when gpg is used to sign
> emails?

IIRC, ssh will run the 'ssh-askpass' program if DISPLAY is set and there
is no tty available, so git-gui should be able to set that up (or you
probably can yourself by simply backgrounding git-gui and closing the
terminal).

-Peff

      parent reply	other threads:[~2007-12-06 19:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-06 14:31 [BUG/RFC git-gui] password for push/pull in case of git+ssh://repo Ivo Alxneit
2007-12-06 17:11 ` Thomas Harning
2007-12-07  8:57   ` [BUG/RFC git-gui] password for push/pull in case ofgit+ssh://repo Alxneit-Kamber Ivo
2007-12-06 19:18 ` Jeff King [this message]

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=20071206191812.GA12006@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=ivo.alxneit@psi.ch \
    /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).