Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-21-2016, 08:53 AM
oarellan oarellan is offline
Registered User
 
Join Date: Jul 2016
Posts: 4
Question keyboard-interactive Script

Hi everyone

I need to make a script on VBScript to connect a network device with allows only the Keyboard-Interactive option to log on.

I'm using SecureCRT 5.2 and my company is not abble to upgrade this software; I have used SecureCRT 8.0 and it works but they dont want to purchase a new licence.

When I want to connect I use

crt.Session.Connect "/SSH2 /AUTH keyboard-interactive /L user /PASSWORD p@ssw0rd " & ip

I need to connect to almost 50 devices, so just do a Copy&Paste is not the best idea.

So, maybe if I could programmaly paste the password using VBScript or save the password in a session or something could be useful.

I´m sorry if I wrote something wrong, my english is not the best. Greetings from México

Than you in advance.
Reply With Quote
  #2  
Old 07-21-2016, 01:14 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi oarellan,

Sorry, no, SecureCRT version 5.2.x is about 10 years old!

Scripting/Automation has been greatly enhanced over the years. Maybe someone in the forum community has some tips that will work for you in the older version.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply

Tags
automation , keyboard-interactive , securecrt 5.0 , skip prompt , vbscript

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:20 PM.