The ksc_connect special commands instruct the execution engine to open a connection to a specified environment. This command initiates a TELNET, SSH or SSH2 session with the server or client defined for the environment.

The command then sends all command steps that follow it directly to the machine, as though someone was actually typing the command on that machine. In this way, the execution engine is able to run virtually any command-line directive that the machine understands.

Note: All ksc_connect special commands must end with the ksc_exit special command to exit the TELNET, SSH, or SSH2 session.