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

Re: Pulling from a linux box to a Solaris 9 OS

From
DSDaniel Santos <daniel.dlds@gmail.com>
Date
Oct 22, 2023, 09:31 UTC
Message-ID
<CC739286-AEFC-4F97-A86F-7A129159F592@gmail.com>
In-Reply-To
<20231020062738.GA1642714@coredump.intra.peff.net>
Hello,

I set the environment variable GIT_SSH_VARIANT and it pulled with no issues. Thanks for the help

Regards Daniel Santos

Show 25 quoted lines
> On 20 Oct 2023, at 07:27, Jeff King <peff@peff.net> wrote:
> 
> On Fri, Oct 20, 2023 at 12:33:50AM +0000, brian m. carlson wrote:
> 
>> By default, if the SSH binary is the default ("ssh"), Git assumes that
>> it's OpenSSH and sends certain options to enable protocol v2, including
>> -o SendEnv.
>> 
>> If you don't want that, you can set "ssh.variant" to "simple", in which
>> case Git will send only the username and the host, but not -p port, -4,
>> -6, or -o.  If you do need a different port, then you're out of luck,
>> and will either have to install Putty (in which case, the ssh.variant
>> value would need to be "putty") or upgrade OpenSSH.  Otherwise, the
>> simple value should work fine.
> 
> I think your suggestion is the most straight-forward one, but just in
> case the "out of luck" part is a problem, you should also be able to
> side-step the issue with:
> 
>  git -c protocol.version=0 fetch ...
> 
> That would allow other features (assuming this older ssh version
> supports them!) without triggering the SendEnv option.
> 
> -Peff
Previous: Jeff King
Message 4 of 4 in “Pulling from a linux box to a Solaris 9 OS”
  1. Daniel SantosOct 19, 2023
  2. brian m. carlsonOct 20, 2023
  3. Jeff KingOct 20, 2023
  4. Daniel SantosOct 22, 2023

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.