I am attempting to connect to an sFTP server using the .Net assembly. I have set the session options protocol to Sftp, our username, password, and hostname. I've obtained our host key fingerprint from the GUI, and even explicitly set the port number to 22.
When I attempt to open the session, I receive the exception 'Server unexpectedly closed network connection'.
Am I missing something?