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