I had to regress to an older firmware version and forgot to keep my config data so I used the LuCI config restore to recover my configuration. This wiped out the password for my GL admin and LuCI logins. I’m reluctant to do a factory reset because the router is working (and being used) now, but I’m locked out of the admin console.
I can SCP into the router (using WinSCP) but PuTTY fails with Access denied.
Is there anything I can do short of a factory reset to fix this?
As I said, I did reset it. Then I did a restore of the saved configuration in LuCI. That restored all configuration (VPN, server def, WiFi SSIDs and passwords, static Host definitions, etc.), but wiped out the passwords.
No. I expected that, but I just got the "Access denied". That makes absolutely no sense to me since WinSCP (which uses SSH) works. I read that SSH by default blocks logging on as root, but I assume that would have been mentioned in some web articles.
I know nothing about either PuYYT or WinSCP so maybe there's a logical reason for what I'm seeing.
I don't know if I can do anything even if I get into SSH with PuTTY. I saw that I can reset the password there, but there are obviously multiple passwords involved and I don't knowe which I would be resetting.
I'll give that a try.
Update:
Removing the registry record did indeed result in the host keys popup, but after that I still got the access denied. It sounds like I really don't know the password. WinSCP successfully logs on but it's using a saved (and undisplayable) password.
OK. I just tried WinSCP (on 2 computers) without using the saved configuration and they also failed with access denied so I really don't know the password ... but I did when I saved it months ago. Sheesh! I'll update this again when I get a new memory.