PuTTY gives "Network error: Software caused connection abort" and closes....why?

  • Posted March 1, 2015

I want to use PuTTY with username and password instead of ssh keys.

I edited /etc/ssh/sshd_config and uncommented '#PasswordAuthentication yes ’

Then I restarted ssh with ‘service ssh restart’

But, when I try and use PuTTY to log into server PuTTY does not connect and gives the “Network error: Software caused connection abort” message.

What am I screwing up?


does putty have a way to add options? Like: ssh -v

adding the -v will give you some more output which can help figure out what is going on.

Also, be sure to check permissions on your .ssh folder for your user:

chmod go-wrx ~
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you are continually encountering this issue I would recommend attempting to log into the console in the control panel. If you have a password and shell set for your user you will be able to log in there as it does not depend on your ssh service. I would then recommend checking /var/log/auth.log and the other log files in /var/log for your ssh login attempts and you should find more information on why they failed.

I had this problem, the problem was the router. Configure Putty to send “Keepalives”. This solution works for me: i had used keep alive time. with this solution

but last i used url or official winscp website and it;s worked for me

This may even happen if there is IP conflict in the network. Try to turn of the network service in the machine by manually loggingin to that eaither via console or direct keyboard then stop the network service.

Now after that try to ping the same IP there may be some loss but still if ping works then for sure it is having IP conflict

Hello guys,

I am having this problem (Network error: Software caused connection abort) when I try to access an SFTP user that I create.

When I created the user, he accessed normally. However, it accessed all the system folders, but I wanted your access to be only from the /var/ folder

So I followed the article below and created a group, restricted access to this folder /var/ and then entered the user into that group.

After that, I can no longer log in with this user. It shows me the message “Network error: Software caused connection abort”.

I run the command: cat/etc/passwd ( and it shows me that the folder path for the user to reach the /wp-content folder is "/home/tagdiv-alin/ ", but I tried to access this path with the root user and it does not work.

In fact, inside the /home/tagdiv-alin folder there is no shortcut folder for / ( as it has in the / root folder (

So I figured that inside the /home/tagdiv-alin folder there should also be a shortcut folder for /, which is why it is failing to try to login with the user. Am I right?

If so, then how do I create this shortcut folder?

If not, then what could be the problem?

The following is also the authentication error log (/var/log/auth.log):

The following is also the syslog error log (/ var / log / syslog):

I hope this information helps you identify the problem.

Thanks for the help. Rodrigo Carlos

Does anyone find a good answer on this?

I am having same issue, but as in other forums I get it temporarily resolved by resetting my Win 10’s DNS cache using ipconfig /flushdns etc. But it is not a permanent solution and reappear after 1-2 days of work.

Had the same trying to connect via putty to a netapp. what worked for me was settings a different new ip on the nic of the netapp, and then setting the old correct ip on that same nic again.

Hi! I am having the same problem. I can acces my droplet via “Console Acces” inside my browser, but not via Putty. I have tried both user/pass and public/private key. I get the same “Network error: Software caused connection abort”.

*I am using Windows 10