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