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

RE: [Patch 1/3] connect.c: add nonstopssh variant to the sshVariant set.

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Apr 30, 2021, 16:38 UTC
Message-ID
<012601d73ddf$3d0cf660$b726e320$@nexbridge.com>
In-Reply-To
<CABPp-BH6RgiMwGLz31nHmis3VTpuEUG--G_6Y+Wfwg24u4Zbag@mail.gmail.com>
On April 30, 2021 12:25 PM, Elijah Newren wrote:
Show 19 quoted lines
>On Fri, Apr 30, 2021 at 7:58 AM Randall S. Becker <rsbecker@nexbridge.com>
>wrote:
>>
>> From ba4beb8ed0dff67ae6b95692d346adce346e2871 Mon Sep 17 00:00:00
>2001
>> From: "Randall S. Becker" <rsbecker@nexbridge.com>
>> Date: Fri, 30 Apr 2021 09:56:09 -0400
>> Subject: [Patch 1/3] connect.c: add nonstopssh variant to the sshVariant set.
>>
>> This enhancement allows the NonStop SSH subsystem to be supported by
>> git without the need of a wrapper script. The command arguments for
>> the platform SSH client in /G/system/zssh/sshoss are constructed based
>> on optional supplied environment variables SSH2_PROCESS_NAME (system
>> defined), SSH_SUPPRESS_QUIET, and SSH_SUPPRESS_BANNER.
>
>Before introducing 3 new special environment variables, I think this commit
>message should explain why you can't just use
>
>GIT_SSH_COMMAND="/G/system/zssh/sshoss -Z -Q -S"
No, it would be GIT_SSH_COMMAND='/G/system/zssh/sshoss -Z -Q -S $ZSSH0' and that does not work correctly in the current git code base.
>particularly since GIT_SSH_COMMAND was introduced specifically so people
>wouldn't have to create wrapper scripts to pass to GIT_SSH.
Going back through the archive to why this is needed: https://public-inbox.org/git/008101d4f3db$56c20410$04460c30$@nexbridge.com/
The SSH2_PROCESS_NAME is a system environment variable, not something I am introducing, that specifies the name of the SSH process. It's format is [\NODE.]$NAME, which causes shell to blank it out. A wrapper script is currently mandatory on this platform.
I have been looking for a solution since that thread.
-Randall
Previous: Elijah NewrenNext: Elijah Newren
Message 3 of 10 in “connect.c: add nonstopssh variant to the sshVariant set.”
  1. 1/3 connect.c: add nonstopssh variant to the sshVariant set.Randall S. Becker, Apr 30, 2021
  2. Elijah NewrenApr 30, 2021
  3. Randall S. BeckerApr 30, 2021
  4. Elijah NewrenApr 30, 2021
  5. Randall S. BeckerApr 30, 2021
  6. Randall S. BeckerMay 10, 2021
  7. Randall S. BeckerJun 4, 2021
  8. Junio C HamanoJun 4, 2021
  9. Randall S. BeckerJun 4, 2021
  10. Randall S. BeckerJun 5, 2021

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.