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

Re: ssh communication not working

From
ILIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Date
Jul 23, 2010, 10:07 UTC
Message-ID
<20100723100712.GA11889@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To
<4C496419.5070902@llaisdy.com>
On Fri, Jul 23, 2010 at 10:42:49AM +0100, Ivan Uemlianin wrote:
Show 8 quoted lines
> 
> I tried cloning over ssh and got an error:
> 
>     $ git clone ivan@myserver.com:/path/to/git/myproject.git
>     Initialized empty Git repository in /Users/ivan/.git/
>     ivan@85.92.88.62's password: ...
>     bash: git-upload-pack: command not found
>     fatal: The remote end hung up unexpectedly

You don't have git-upload-pack in non-interactive $PATH (it is not the same as $PATH for interactive logins). Edit ~/.bashrc on remote side?

-Ilari
Previous: Ivan UemlianinNext: Ivan Uemlianin
Message 4 of 7 in “unpack failed --- is my repos broken?”
  1. Ivan UemlianinJul 20, 2010
  2. Jared HanceJul 20, 2010
  3. ssh communication not workingIvan Uemlianin, Jul 23, 2010
  4. Ilari LiusvaaraJul 23, 2010
  5. Ivan UemlianinJul 23, 2010
  6. Tay Ray ChuanJul 21, 2010
  7. Ivan UemlianinJul 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.