Re: Cisco MDS login and show commands - WeOnlyDo Discussion board

Re: Cisco MDS login and show commands (General questions)

by wodSupport, Thursday, January 26, 2006, 18:50 (6673 days ago) @ VBrookie

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


Complete thread: