cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Popup Hotspot Using ISR 1000 with WiFi/LTE for Teleworkers and Micro Branchesr
524
Views
0
Helpful
1
Replies
Highlighted
Beginner

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 1
Highlighted
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. **
CreatePlease to create content
Content for Community-Ad