I've done a couple of tests using the Cisco IOS debug function.
I turn on debugging on the router (debug ip ssh) using the console on the router just before I send the enablePassword with my test-program (shown above).
On the router console I see the debug-messages of ssh data being received, but in the shellstream only a newline is added.
I then send the exit command. On the router console I again see the ssh data being received including the message
SSH0: Session terminated normally
But the shellstream only shows one more added newline.
I've tried the same scenario with the SharpSSH test-program: everything works as expected. I'm able to send the enablePassword, see the "enabled-prompt" (#) and issue commands and retrieving its output.
This is driving me nuts!
I turn on debugging on the router (debug ip ssh) using the console on the router just before I send the enablePassword with my test-program (shown above).
On the router console I see the debug-messages of ssh data being received, but in the shellstream only a newline is added.
I then send the exit command. On the router console I again see the ssh data being received including the message
SSH0: Session terminated normally
But the shellstream only shows one more added newline.
I've tried the same scenario with the SharpSSH test-program: everything works as expected. I'm able to send the enablePassword, see the "enabled-prompt" (#) and issue commands and retrieving its output.
This is driving me nuts!