What's new

Sudden Putty Connection Issue

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

djtech2k

Senior Member
Today I tried to connect to my Asuswrt router via putty and noticed it immediately fails with the "Network error: Software caused connection abort" error message. I have used putty many times over the years with this profile with no issue but now it immediately fails. It is not timing out because its immediate. I can tcp connect to port 22 on the internal IP, so its open. I can use putty to connect with the same settings from another laptop on the same network. The connection to my AC68U is the only putty connection that fails and its only from this laptop.

Any ideas on what the issue could be? IDK if it could be the router but I am a little baffled.
 
The thing is I can connect to SSH on the router from other clients. Its just not working from putty on this specific laptop, even though I have used it exactly like this for years. Its SO odd.
 
After more testing, I have verified that the "problem" laptop can use putty to other SSH servers and it can use other SSH clients to connect to my AC68U. I have also verified that a different laptop can use putty to connect to everything.

So it seems to only be putty running from a specific laptop connecting only to my AC68U. Every other combination works. I have used putty to connect to this router from this laptop using putty for years. I have no idea why it immediately fails now. It doesn't even try to connect.

I also did disable skynet on the router just to make sure it wasn't that and nothing changed, so that's not it.
 
Are you using a hostname or IP address to connect? Are there any logs on the router end during the connection attempt?

Did you try Windows ssh.exe client as a sanity check?
 
SSH requires the time to be correct. Check the laptop time/date.
otherwise, the session cache is corrupt on the client machine and you have to restart the computer to flush the cache.
 
My laptop time is accurate. I can use the SSH command from the same laptop and connect the the Asus just fine. Its only putty being run from this laptop trying to connect to this Asus. Like I said, it worked fine for years before this. I have uninstalled/reinstalled putty and deleted the registry keys under HKCU but nothing has worked.

I did do a packet trace with wireshark and I do see the RST/Reset in the trace. It looks like its from source of the router and destination of my laptop, going from port 22 to port 51821. It happens immediately when I click connect in putty.

Its just so odd.
 
Are you using a hostname or IP address to connect? Are there any logs on the router end during the connection attempt?

Did you try Windows ssh.exe client as a sanity check?
Using internal IP address and yes SSH will connect from the same laptop. Putty will connect from this laptop to every other SSH server I try. And other laptops can use putty to SSH to this Asus.
 
If you continue to have trouble on the one PC, try the portable version of putty rather than the installer (MSI) version of putty as a troubleshooting step.

It may help if you provide more information about that one PC that is having an issue. What is it's OS? How is it's network setup/configured (wifi, ethernet)? Is the PC running any third party firewall or security software? Temporarily disable that firewall or security software as a troubleshooting step.

For what ever reason Norton 360 installed on one laptop flagged the latest version of putty.exe (0.82) as malware and quarantined it.
 
I did do a packet trace with wireshark and I do see the RST/Reset in the trace. It looks like its from source of the router and destination of my laptop, going from port 22 to port 51821. It happens immediately when I click connect in putty.
then the router has refused connection and looks like it assumes a hostile client.
Try rebooting the router.
 
All my laptops are running Windows 11. I have allowed putty thru the windows firewall, even though it always worked before.

I have rebooted the router and my laptop.

I have putty v0.82 installed but I have tried just the downloaded exe, and I tried the latest dev version of putty exe. All same results.

Like I said, I can use putty on this laptop to connect to anything else just fine, and I can use the OpenSSH client to connect to the Asus just fine. Its so odd.
 
All my laptops are running Windows 11. I have allowed putty thru the windows firewall, even though it always worked before.

I have rebooted the router and my laptop.

I have putty v0.82 installed but I have tried just the downloaded exe, and I tried the latest dev version of putty exe. All same results.

Like I said, I can use putty on this laptop to connect to anything else just fine, and I can use the OpenSSH client to connect to the Asus just fine. Its so odd.
well your wireshark revealed what happened. But if your router has an SSH log, I would turn it on if its not on and look at why its refusing the connection. Because there are not many things that can prevent it from connecting and a port redirect is the commonly programmed weak sauce defense against a DDOS attack on a router. If the laptop is able to SSH into anything else (other than itself), then the laptop has no issues. Make sure the user/password is correct.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top