git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Alxneit-Kamber Ivo
Message 4 of 4 in “[BUG/RFC git-gui] password for push/pull in case of git+ssh://repo”
  1. Ivo AlxneitDec 6, 2007
  2. Thomas HarningDec 6, 2007
  3. Alxneit-Kamber IvoDec 7, 2007
  4. Jeff KingDec 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.