If I can interfere in your topic, I wrote vb.net code with renci ssh.net to manage many Cisco switches & routers.
I added some code in send/receive command for :
Alain
I added some code in send/receive command for :
- take out command echo from response buffer
- take out Ios prompt (<host>#)
- wait until <prompt> received or when <Timeout> seconds elapsed
- increase terminal line length in order to do not get special cursor position cars : SSH_Socket.CreateShellStream("dumb", 512, 96, 800, 600, 2000000)
-
remove <Backspace> from response buffer
Alain