简体   繁体   中英

SSH.NET - An established connection was aborted by the software in your host machine

I'm using SSH.NET to connect and send commands to my Linux. Until yesterday it was SLES 12 and everything worked fine. Today I've upgraded it to SLES12 SP1 and when I'm trying to connect with server (through application with SSH.NET) I get exception - An established connection was aborted by the software in your host machine. All time I could use Putty or Git Bash to connect to machine and there is no problem. Putty and my application are using the same port (22). What I can do? I'm pretty sure that problem lies in my SLES configuration.

I don´t know about SLES12 but i'm almost shure that it uses sshd and that is what's causing your problem. In the latest version, the minimum key sizes were increased and this brakes ssh.net causing your exception.

A patch has been submited and will be integrated in the next release. Until then, the only solution is to use a pre-release version of ssh.net

More info:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM