Index
Connect in Tab to Host and Handle Authentication in Terminal Window
This example script prompts for host/IP, username, and password (if not hard-coded in the script variables strHost, strUser, and strPwd), and then uses the information to connect to the host using the SSH2 protocol. The session configuration object is used to detect if the option is enabled for handling authentication in the terminal window, and prompts the user to have this script automatically enable it if the option is not currently enabled. SSH2 authentication is handled by waiting for the username and password prompts and sending the username and password, respectively. Currently the only example script is VBScript.
Example Script
ConnectInTabToSpecifiedHostname-HandlePasswordAuthInTerminalWindow.vbs.txt (9.2 KB)