Re: SSH towards Cisco - WeOnlyDo Discussion board

Re: SSH towards Cisco (General questions)

by dirk, Friday, March 18, 2011, 11:20 (4810 days ago) @ wodDamir

Dirk,

So basically, the only problem is that it doesn't disconnect?

I don't see Protocol set anywhere. Can you please set it to SSHAuto?

Regards,
Damba

Correct there is no disconnect, so my real code doesn't know that all went well and just waits....

The protocol is set when a combo is changed :-)
[code] If Combo1.ListIndex = 0 Then
Ssh.Protocol = Raw
End If
If Combo1.ListIndex = 1 Then
Ssh.Protocol = Telnet
End If
If Combo1.ListIndex = 2 Then
Ssh.Protocol = SSH1
End If
If Combo1.ListIndex = 3 Then
Ssh.Protocol = SSH2
End If
If Combo1.ListIndex = 4 Then
Text2 = 22
Ssh.Protocol = SSHAuto
End If [/code]

Tried it with auto and with ssh1, same result


Complete thread: