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

does the git over ssh protocol tell the server the hostname?

From
Christoph Anton Mitterer <calestyo@scientia.net>
Date
Feb 26, 2015, 23:14 UTC
Message-ID
<1424992494.4663.28.camel@scientia.net>
Hey.
Short question:

I saw that when plain git (i.e. git://) is used, the client tells the server the hostname specified on the client side. For http one has the same automatically via http's Host: header.

But after watching the git's over-ssh protocol, I couldn't find anything like that there? :-(

Would be quite nice to have this in order to implement vhosting like things.

Cheers, Chris.

Next: Shawn Pearce
Message 1 of 2 in “does the git over ssh protocol tell the server the hostname?”
  1. Christoph Anton MittererFeb 26, 2015
  2. Shawn PearceMar 1, 2015

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.