Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #16  
Old 04-25-2012, 04:00 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,482
Hi rainman,

It's not about what I think.

It is about the version you might be eligible to upgrade to free of charge.

However, it is not likely to change the results. As noted in my last post, the version of the script I have runs just fine in SecureCRT 6.1.1 when the IP addresses in the array are valid. My version of the script is the one posted here, but with valid IP addresses and credentials for my environment.
__________________
Thanks,
--Brenda

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

Last edited by bgagnon; 04-25-2012 at 04:02 PM.
Reply With Quote
  #17  
Old 04-26-2012, 10:41 AM
alfatron alfatron is offline
Registered User
 
Join Date: Apr 2012
Posts: 1
Hello.

I think that you missed the port number for telnet.

you should add "23" to vHosts(0) : vHosts(0) = "10.1.1.1 23", or to the connection command: crt.Session.Connect "/Telnet " & strHost & " 23".

good luck.
Reply With Quote
  #18  
Old 04-26-2012, 03:36 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,482
Thanks for posting alfatron!

As a note, as long as the server is listening on the standard port (Telnet port 23, SSH2 port 22), you do not need to specify the port except in the rare case where the Default Session (Default.ini file) may have been changed to use a non-standard port. The Default Session configuration is used for ad hoc connections.
__________________
Thanks,
--Brenda

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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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:07 AM.