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

Advise request on adding a new SSH variant

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Apr 26, 2021, 15:08 UTC
Message-ID
<043101d73aae$026409b0$072c1d10$@nexbridge.com>
Hi Team,

I am getting a bunch of requests from my team (and customers) to make SSH configuration easier on the NonStop platform. We are currently using a wrapper script to drive the variant of SSH on the platform but that is not convenient for many people. I would like to add an ssh.Variant called "nonstopssh", or something like that, which takes a few extra parameters. -Q (quiet), -Z (don't display the banner), -p port (obvious but typically required), -S (a system process name). The code in connect.c looks pretty straight forward, but I'm wondering about the best way to pass in a process name (it would be something like "$ZSSHX" - usually an environment variable "SSH2_PROCESS_NAME"). The program name for SSH, I assume, could come from GIT_SSH_COMMAND (typically "/G/system/zssh/sshoss", or I could force it if not supplied). I'm also wondering about controls for the -Q and -Z parameters. Should I just use the environment for this and build up args or is there a more appropriate way of managing these values?

Thanks in advance, Randall

-- Brief whoami: NonStop developer since approximately 211288444200000000 UNIX developer since approximately 421664400 -- In my real life, I talk too much.

Next: Philip Oakley
Message 1 of 6 in “Advise request on adding a new SSH variant”
  1. Randall S. BeckerApr 26, 2021
  2. Philip OakleyMay 4, 2021
  3. Randall S. BeckerMay 4, 2021
  4. Junio C HamanoMay 5, 2021
  5. Randall S. BeckerMay 5, 2021
  6. Philip OakleyMay 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.