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
brian m. carlson <sandals@crustytoothpaste.net>
Date
Oct 20, 2023, 00:33 UTC
Message-ID
<ZTHK7o5LXvMB5EeJ@tapette.crustytoothpaste.net>
In-Reply-To
<20A47898-41F6-4E94-822C-10509EC1E3B9@gmail.com>
On 2023-10-19 at 21:49:53, Daniel Santos wrote:
Show 14 quoted lines
> Hello,
> 
> I have a bare repo on a linux box. I can push and pull from a modern macOS X.
> But I also have a Solaris 9 box with a checkout of that same repo. when I try to pull I get the messages:
> 
> bash-2.05$ git pull
> command-line: line 0: Bad configuration option: SendEnv
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> 
> The cause maybe the ‘old-ness’ of solaris software.
> Is there any way to get around this ?

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.

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: Daniel SantosNext: Jeff King
Message 2 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.