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

Re: Fwd: Strange remote interaction

From
Javier Domingo <javierdo1@gmail.com>
Date
Mar 5, 2013, 09:46 UTC
Message-ID
<CALZVapkk2bugkSuqQ0EU7Zu9fjHGqrtAeArbG-ycJdS=morMLQ@mail.gmail.com>
In-Reply-To
<7v1ubuwhec.fsf@alter.siamese.dyndns.org>
Show 15 quoted lines
> In a usual set-up, an access to git@server:javier/pfc will first
> locate the home directory for the user "git" (the token before "@"),
> and then its subdirectory javier/pfc, e.g. /home/git/javier/pfc,
> while an access to server:javier/pfc will first locate the home
> directory of whatever username the ssh connection uses by default
> (typically the local user but ~/.ssh/config may have "User"
> directive for the server) and then its subdirectory javier/pfc,
> e.g. /home/javier/javier/pfc.  These two may be different locations.
>
> Do these two commands show the same output?
>
>         $ git ls-remote git@server:javier/pfc refs/heads/master
>         $ git ls-remote server:javier/pfc refs/heads/master
>
> If the above conjecture is correct, I suspect they don't.

I have a gitolite setup there, so it is imposible the give the same output. Anyways, as I don't have a user in the server machine, the second fails.

$ git ls-remote git@server:javier/pfc 22692a2d69d3138b7ccebd64e72c66ea8bf69e9f HEAD 22692a2d69d3138b7ccebd64e72c66ea8bf69e9f refs/heads/master

It is the first time I encounter such a problem.
Previous: Junio C Hamano
Message 3 of 3 in “Fwd: Strange remote interaction”
  1. Javier DomingoMar 5, 2013
  2. Junio C HamanoMar 5, 2013
  3. Javier DomingoMar 5, 2013

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.