Re: Cisco MDS login and show commands (General questions)
VBRookie,
try something like this:
[code]Ssh1.Connect( 1.1.1.1 ) ' Connect, finally. Now wait for Connected event to occur
Ssh1.WaitFor( MDS-Top# , 5)
Ssh1.Execute( show version & Chr(10), MDS-Top# , 5)[/code]
that must work. Otherwise, you can also call
Ssh1.Send( show version & chr(10))
and then call Ssh1.Receive - that's also a way to go.
Kreso