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

by r_honey, (4849 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.

locked

Complete thread: