cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
927
Views
0
Helpful
1
Replies

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

1 Reply 1

Vinod Arya
Cisco Employee
Cisco Employee

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. **
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: