Joined: 08 May 2018 Posts: 14209 Location: Texas, USA
Posted: Mon May 15, 2023 1:06 Post subject:
Are you using ssh key authentication or password authentication? Something tells me that one or the other is timing out before authentication completes, if anything. That being said, if normal ssh logins via terminal or putty are working properly, then this is not a DD-WRT issue. Pretty sure I already know the answer. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
i am using key authentication, and putty fails also so it is a dd-wrt issue, or quite honestly a setting or something i am missing. also, after restarting sshd, it eventually fails again.
Joined: 08 May 2018 Posts: 14209 Location: Texas, USA
Posted: Mon May 15, 2023 2:18 Post subject:
Keep in mind that dropbear is using ed25519 keys for authentication. You may have to make some adjustments for putty, etc. and/or clear known hosts and key fingerprints. I don't have discussion links handy, but this is not a new discussion. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Mon May 15, 2023 6:41 Post subject:
Pdobrien3 wrote:
May 14 10:10:33 Second_Floor_68U authpriv.info dropbear[2748]: Child connection from 192.168.xx.xx:xx
May 14 10:10:33 Second_Floor_68U authpriv.info dropbear[2748]: Exit before auth from <192.168.xx.xxx:xx>: Error reading: Connection reset by peer
the child connection is my nagios instance loggjng in. it worked multiple times before 10:10:33
What was that Nagios doing? Running a script over a SSH connection?
Bad passwords and/or wrong key should not crash Dropbear SSH.... _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
i am not sure how nagios works, but it has worked for about 5 years, until r52369. Dropbear is clearly working with both putty and my nagios instance until it crashes. it is not as if it never works, it works for an inconsistent period and then crashes. I can restart the daemon and everything is fine again, until it crashes. Hard to believe no one else is seeing the issue though.
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Mon May 15, 2023 10:58 Post subject:
Pdobrien3 wrote:
i am not sure how nagios works, but it has worked for about 5 years, until r52369. Dropbear is clearly working with both putty and my nagios instance until it crashes.... Hard to believe no one else is seeing the issue though.
Well, I don't use Nagios, and my router is different from yours. If it had worked for 5 years, then some recent changes in DD-WRT might have caused or unleashed the problem.
Could it be IPv6? Lately it's being worked on vigorously. But Nagios might still be quilty.