Skip to content

Support SSH variant for NonStop SSH #1

@rsbeckerca

Description

@rsbeckerca

There should be native support in git for NonStop SSH.

Describe the solution you'd like
git supports the concept of SSH variants through the core.sshVariant configuration variable in .gitconfig. There should be a new entry called nonstopssh or something acceptable to the git team. This will build a proper command to run /G/system/zssh/sshoss. The processing should account for the port and SSH2 process.

The modifications should all be contained in connect.c starting here:

git/connect.c

Line 1087 in 32a64f5

enum ssh_variant {

The following parameters need to get in somehow:

-p port is pretty much handled.
-Q to quiet. This should be passed in as an environment variable either to enable or disable by default.
-Z to suppress the header. This is really important as it will cause dialog problems in older SSH SPRs.
-S process if getenv("SSH2_PROCESS_NAME") is in the environment, this must be added.

Modifications should be pretty trivial, except for possible handling of =SSH2^PROCESS^NAME, for which I have some code that can be inserted.

Alternatives
Currently, the user needs a wrapper that runs SSHOSS. This is usually sufficient, but people are not happy with it.

Additional Issues
The DEFINE =SSH2^PROCESS^NAME may be used by SSHOSS if in the environment. This is an unknown right now (please discuss).

Note: the contribution of any fixes to our code must go through the git workflow, not added as a Pull Request on GitHub.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions