Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

login prompt

Hello All

i am writing the script below but when i start the session in securecrt  it always asks me to enter a hostname and password.In the script i am writing host and username why securecrt asks me again a hostname and username ?

# $language = "VBScript"

# $interface = "1.0"

' Connect to an SSH server using the SSH2 protocol. Specify the

' username and password and hostname on the command line as well as

' some SSH2 protocol specific options.

Sub Main

  Dim host

  host = "10.1.1.1"

  Dim user

  user = "sinan"

  Dim passwd

  passwd = "123456"

  cmd = "/SSH2 /L " & user & " /PASSWORD " & passwd & " /C 3DES /M MD5 " & host

  crt.Session.Connect cmd

End Sub

Everyone's tags (2)
1 REPLY
Cisco Employee

login prompt

I am really sure you should also ask this @ VanDyke Software Forums, who make SecureCRT. May be audience here is not perticular to ask this. This Forum Specializes mostly in NMS of Cisco Products.

-Thanks Vinod **Rating Encourages contributors, and its really free. **
481
Views
0
Helpful
1
Replies