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
Complete thread:
- Cisco MDS login and show commands - VBrookie, 2006-01-26, 18:44
- Re: Cisco MDS login and show commands - wodSupport, 2006-01-26, 18:50
- Re: Cisco MDS login and show commands - VBrookie, 2006-01-26, 19:09
- Re: Cisco MDS login and show commands - wodSupport, 2006-01-26, 19:14
- Re: Cisco MDS login and show commands - VBrookie, 2006-01-26, 19:21
- Re: Cisco MDS login and show commands - wodSupport, 2006-01-26, 19:28
- Re: Cisco MDS login and show commands - VBrookie, 2006-01-26, 19:21
- Re: Cisco MDS login and show commands - wodSupport, 2006-01-26, 19:14
- Re: Cisco MDS login and show commands - VBrookie, 2006-01-26, 19:09
- Re: Cisco MDS login and show commands - wodSupport, 2006-01-26, 18:50