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

Git GUI on OS X with remote over SSH fails with "remote hung up unexpectedly"

From
AHAlexander Hartner <alex@j2anywhere.com>
Date
Oct 23, 2010, 10:52 UTC
Message-ID
<03C67161-BEE1-4EF6-8426-EFB4E0E2AC5C@j2anywhere.com>
When using the desktop icon generated by git-gui to start the visual user interface I am not able to fetch or push changes to my remote repository. I am using SSH to access my repository and have configured public / private key authentication so I don't have to provide a password when accessing the git repository every time. When using the command line to push / pull / fetch everything works great, however when using the git-gui when started via the desktop icon I get the following error: "remote hung up unexpectedly".
When I start git-gui via the command line it also works properly. So instead of using the generated desktop icon I put a quick command / script together to navigate using cd to the repository directory and then to call the git gui command. The downside of this is that every time I start this i also get a terminal window. 
I am guessing this is because the git-gui can't find the ssh command. I have tried to update the path in .MacOSX/environment.plist manually to include /usr/bin but this didn't help either. Also having had a look online didn't provide any obvious suggestions.

Kind regards Alex

Message 1 of 1 in “Git GUI on OS X with remote over SSH fails with "remote hung up unexpectedly"”
  1. Alexander HartnerOct 23, 2010

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.