SSH.NET - Setting Protocol to Auto resets custom S - WeOnlyDo Discussion board

SSH.NET - Setting Protocol to Auto resets custom S (wodSSH / wodSSH.NET)

by r_honey, Sunday, January 22, 2012, 19:57 (4689 days ago)

I am evaluating SSH.NET for use in one of my apps and I hit a bug. While connecting to a SSH server, I assigned properties in this order:

Host
Port
Protocol -> SSHSuto
Username
Password
//More properties

And I noticed that my port was being overridden with 22 after I assigned protocol to Auto. I had to move Protocol assignment before Port assignment to make it work.


Complete thread: