ksc_connect_dest_server
This command initiates a TELNET, SSH, or SSH2 session with the server of the destination environment. The destination environment refers to the destination environment of the workflow step initiating command execution.
ksc_connect_dest_server
parameters
Parameter | Default token | Description |
---|---|---|
USERNAME | [DEST_ENV.SERVER_ USERNAME | Username on [DEST_ENV] |
PASSWORD | [DEST_ENV.SERVER_ PASSWORD | Password on [DEST_ENV] |
NT_DOMAIN | [DEST_ENV.SERVER_ NT_DOMAIN | Windows NT Domain name of [DEST_ENV] |
DEST_BASE_ PATH | [DEST_ENV.SERVER_ BASE_PATH | Base Path of [DEST_ENV] |
CONNECTION_ PROTOCOL | [DEST_ENV.SERVER_ CON_PROTOCOL_ MEANING] | Specifies the connection protocol. Possible values are listed in validation CONNECTION_ PROTOCOL |
DEST_ENV | [DEST_ENV. ENVIRONMENT_NAME] | Name of the destination environment to be used instead of the destination environment on the current workflow step |
Example using ksc_connect_dest_server
# Make a remote connection to the server of the # destination environment defined for the current # workflow step.
ksc_connect_dest_server <commands> ksc_exit
# Make a remote connection to the server defined for # the environment named ‘Staging’.
ksc_connect_dest_server DEST_ENV="STAGING" <commands> ksc_exit