Add support for custom SSH client on connect#2791
Conversation
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
|
👋 A new build is available for this PR based on 38d04f9. |
|
Before we merge this, I wonder if it's time to cleanup the @SanjulaGanepola @sebjulliand I am thinking we should change the parameter to accept to objects:
Thoughts? |
@worksofliam agreed. |
|
@SanjulaGanepola is this something you want to do as part of this pull request? |
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
|
@sebjulliand I made the change and the tests are looking good - it was simple and shouldn't change anything during runtime. |
SanjulaGanepola
left a comment
There was a problem hiding this comment.
@worksofliam Looks good. Thanks for updating that
This PR adds support for a custom SSH client to be provided on connect.
This change is required for the
itestCLI tool (IBM/vscode-ibmi-testing#137) where I am pulling in the Code for IBM i API itself as a dependency. I need to be able to provide a custom client that has the same APIs as Node SSH, but instead simply runs everything directly usingspawnas the CLI tool can run directly on the IBM i. The custom client will look something like this: LocalSsh.ts