Creates an instance of AbstractSession.
Optional runtime hook, invoked during connection when the server presents a host key that is not already trusted (no ISshSession.hostKey pinned, or the presented key differs from it). It is set by the command handler layer to prompt the user interactively (trust on first use) and is intentionally not part of the serializable ISshSession configuration. When unset (e.g. pure SDK usage with no interactive layer), an untrusted key is rejected.
Default ssh port 22
Options related to connecting to z/OS SSH These options can be filled in if the user creates a profile
Obtain session info and defaults
Builds an ISshSession so all required pieces are filled in
the fully populated session
Given command line arguments, create an SSH session configuration object.
The arguments specified by the user
Option used in profile creation to set handshake timeout. If unset, defaults to no timeout.
Option used in profile creation and commands for hostname for z/OS SSH
Option used in profile creation and commands to pin the trusted host key of the z/OS SSH server.
Option used in profile creation and commands to skip host key verification.
Option used in profile creation and commands for passphrase for private key
Option used in profile creation and commands for password/passphrase for z/OS SSH
Option used in profile creation and commands for port for z/OS SSH
Option used in profile creation and commands for private key path
Option used in profile creation and commands for username / ID for z/OS SSH
Generated using TypeDoc
Utility Methods for Zowe