Re: [BUG/RFC git-gui] password for push/pull in case of git+ssh://repo
- From
Jeff King <peff@peff.net>
- Date
- Dec 6, 2007, 19:18 UTC
- Message-ID
- <20071206191812.GA12006@sigill.intra.peff.net>
- In-Reply-To
- <1196951517.3294.24.camel@localhost.localdomain>
On Thu, Dec 06, 2007 at 03:31:57PM +0100, Ivo Alxneit wrote:
Show 7 quoted lines
> 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