View Single Post
  #5  
Old 12-08-2015, 08:14 AM
laurent prat laurent prat is offline
Registered User
 
Join Date: Nov 2015
Posts: 3
Hi Brenda,

Perfect, it is now working.

Here is what I have done:

SSH Command: C:\Program Files\VanDyke Software\SecureCRT\SecureCRT.exe

SSH arguments: /SCRIPT "C:\Users\lap\Desktop\ScriptHost.vbs" /N %t /T /SSH2 /P %p %h /L guest /PASSWORD guest /ARG %r

Your script:

crt.Screen.Send vbcr
crt.Screen.WaitForString "$"
crt.Screen.Send crt.Arguments.GetArg(0) & vbcr


Now when I right click on a node and choose SSH, I get directly into the node:

guest@mgmt-COWvBV$ telnet 10.255.0.129
Trying 10.255.0.129...
Connected to 10.255.0.129.
Escape character is '^]'.

!!!OUTPUT OMITTED!!!

User Access Verification

Username:


I have writen the solution into the Cisco VIRL forum also:

http://community.dev-innovate.com/t/...irl-1-0/6134/9

Many thanks for your help! That is amazing that you could help;-)

Regards,
Laurent
Reply With Quote