View Single Post
  #1  
Old 08-02-2012, 11:39 AM
miked's Avatar
miked miked is offline
Registered User
 
Join Date: Feb 2004
Posts: 2,040
Post Example: Connect in Tab to Host and Handle Authentication in Terminal Window

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.

Last edited by miked; 08-08-2012 at 05:46 PM. Reason: Currently the only example script is VBScript.