but still if I can use a program using the SharpSSH library then why not SSH.NET?I doubt anyone here knows. There are no doubt subtleties as to how they both (and others) interpret and interface/interact with the SSH protocol. Also, we will never know why Cisco IOS is reacting differently to different approaches.
I would not assume that Cisco is not doing something to make connections "easier" for COTS TTY programs. They no doubt could care less about how GASP Open Source ssh libraries behave with their products.
It may be as simple as "If you find something that works, then use it". This project, like thousands of others, depends on people like you to find the issues and inconsistencies, sure, but also to determine work-arounds for source code.
And of course the obligatory caveat: If something in Cisco does/doesn't work today, it may be the opposite tomorrow for no reason whatsoever.
Happy Hunting!
pat
:)