Hey all,
I currently have an issue with SSH on an estate of routers. We have our public keys on them, but every so often, the routers will not accept our logins. When this happens, we can log in to the router with the username “admin” and no password. Any attempt to change the admin password and put the keys back on is futile as after around 10-20 minutes the keys disappear and it goes back to only being accessible via the passwordless admin login.
At the same time, we also see that no files are able to be created (exporting configuration to a file fails for example), so it appears like the memory has gone into some form of read only mode. To “fix” these routers, a reboot solves the issue. However some of the routers that have been rebooted exhibit the same symptoms a few weeks later (not always, its very random as to if it will happen again).
The RouterOS on these isn’t the latest (a mixture of 5.12 and 5.14 on the estate of about 50 routers), but I have seen worse SSH issues with newer versions so I’m not going to upgrade just yet without good reason.
Has anyone seen anything similar to this, and if there is a way to fix this permanently? If it does require upgrade the estate then thats fine, just so long as its definitely been fixed in a release.