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

Setting up Git Server over SSH

From
DDennis <dennisfm@friendlymatch.com>
Date
Nov 15, 2010, 18:20 UTC
Message-ID
<B99C7057496B47E48E5ABED7DE6BA51A@denny>

I have a remote server (hostname.com) that acts as a webserver. What I did is I wanted to set up my public_html folder as a public repository. After trial and error I am still at stage_0.

Thus, on that server I have /home/user/.git directory and the repo works fine if I am accessing it from the server.

Now, I want to clone that repo onto my local machine. I am doing this, but it fails:

>git clone ssh://hostname.com:/home/user/.git

Cloning into user... fatal: protocol error: bad line length character: logi

>Access denied

Access denied Access denied Access denied Access denied Access denied FATAL ERROR: Server sent disconnect message type 2 (protocol error): "Too many authentication failures for " --------------------------------

What can I do to make it work? Dennis

Next: Shawn Pearce
Message 1 of 5 in “Setting up Git Server over SSH”
  1. DennisNov 15, 2010
  2. Shawn PearceNov 15, 2010
  3. DennisNov 15, 2010
  4. Ævar Arnfjörð BjarmasonNov 16, 2010
  5. DennisNov 17, 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.