zowe → zos-uss → issue → ssh
Issue a z/OS USS command
Usage
zowe zos-uss issue ssh <command> [options]
Positional Arguments
command
(string)- z/OS USS command to issue
Options
--cwd
(string)- Working directory in which to execute the command
z/OS Ssh Connection Options
--host
|-H
(string)- The z/OS SSH server host name.
--port
|-P
(number)The z/OS SSH server port.
Default value: 22
--user
|-u
(string)- Mainframe user name, which can be the same as your TSO login.
--password
|--pass
|--pw
(string)- Mainframe password, which can be the same as your TSO password.
--privateKey
|--key
|--pk
(string)- Path to a file containing your private key, that must match a public key stored in the server for authentication
--keyPassphrase
|--passphrase
|--kp
(string)- Private key passphrase, which unlocks the private key.
--handshakeTimeout
|--timeout
|--to
(number)- How long in milliseconds to wait for the SSH handshake to complete.
Profile Options
--ssh-profile
|--ssh-p
(string)- The name of a (ssh) profile to load for this command execution.
Examples
Issue a simple command, giving the working directory:
zowe zos-uss issue ssh "npm install express" --cwd /u/cicprov/mnt/CICPY01I/bundles/myapp