Subscribe to How-To Geek

WinSCP’s "Network error: Software caused connection abort" Message is Driving Me Crazy!

WinSCP is by far and away the best SCP/SFTP client for Windows users, but the default settings don’t use keepalive, so you get disconnected far too often. I like to leave the client open while I’m doing work, and this causes a serious problem with my workflow.

Note: if you haven’t switched to using SCP or SFTP to transfer files instead of regular insecure FTP, you should really do so.

This messagebox needs to go away!

image

To change this setting, you’ll have to modify your saved connections in the WinSCP Login screen.

Select “Connection” in the left-hand treeview, and then change the “Keepalives” radio button to “Executing dummy protocol commands”.

image

You could also use the option for “Sending of null SSH packets”, but not all servers support that option, and we want that error message to go away.

Make sure you click the Save button after you are done.

Download the awesome WinSCP client

| More
This article was originally written on 10/19/07 Tagged with: Geek Stuff

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (3)

  1. Bryan

    Hey, a lot of the times this error is also caused by the host system’s terminal settings. Depending on the host type, OS, and settings, find your profile, such as ~/.bash_login and look for this line ”
    “mesg y” and comment it out. If you don’t see it there, it may be a system-wide setting, in which case you may have to override it in your local settings or ask the administrators to change it for you.
    “mesg y” says that your terminal can receive system-wide messages, and in the case of an scp/ssh connection, you don’t want that. Hope this helps too!

  2. Jason

    Thanks for this GREAT and USEFUL tip! It’s surprising that I couldn’t even find this information on WinSCP’s own website! You saved me a hours of work!

    Thanks again!

  3. Leigh anne

    Where do I find this file?
    Depending on the host type, OS, and settings, find your profile, such as ~/.bash_login and look for this line

    I’m getting the “Network error: Software caused connection abort” error message for the first time this morning. I don’t know anything about re-keying and I’m so confused. Can anyone help me?


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.