VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   Example: Connect in Tab to Host and Handle Authentication in Terminal Window (https://forums.vandyke.com/showthread.php?t=10603)

miked 08-02-2012 12:39 PM

Example: Connect in Tab to Host and Handle Authentication in Terminal Window
 
1 Attachment(s)
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.


All times are GMT -6. The time now is 02:51 PM.