Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: How to maintain a 'conversation' with an SSH session?

$
0
0
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 :
  • 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
just know need events in sshclient to detect server disconnection
Alain

Viewing all articles
Browse latest Browse all 1729

Trending Articles