Posted July 21, 20186 yr I was away for 3 weeks, during which there was a power outage. The UPS got the server to gracefully shut itself down, so all was good there. (I believe.) When I returned, I was able to reboot the server with no issues, and I can log into the WebGUI with my root ID & password. However, when I point puTTY at the server and give it root/<pwd> it tells me Access denied and prompts for root pwd again. I'm 100% certain that I've typed it correctly, I've confirmed that the password is as I thought it was (it's stored in Firefox's pwd manager - yeah, I know...). I don't have caps-lock on. A) WebGUI and console should be accessed using the same account, right? B) Why would I not be able to log in at the console if the user/pwd works fine in the browser? C) Can I delete the users & passwords files to reset everything and recreate them without having to do any sort of fresh install? Edited July 25, 20186 yr by FreeMan
July 21, 20186 yr Author Maybe I've somehow managed to disable remote login? I just successfully logged in via directly attached kbd/monitor.
July 24, 20186 yr Do you have any ssh related plugin? it might be enforcing key based login, which would prevent ssh from working if your publick keys on the server have been borked. Post your diagnostics (after trying to login via ssh) so people can take a look and see what's going on.
July 25, 20186 yr Author I do have the SSH Plugin installed. Here are diagnostics immediately after a failed login attempt. nas-diagnostics-20180725-1816.zip
July 25, 20186 yr hmm.. your logs indicate that user password for root is not accepted, but it allowed a user brettftp in. can you post config/ssh/sshd_config from the flash? and /etc/ssh/sshd_config as well?
July 25, 20186 yr Author Weird... I got to looking at the SSH Plugin settings - it was set to deny root login. Stopped the service, enabled root login, restarted the service and now I have no issues. The plugin was last updated on 22 Jan '18, and I know I've logged in via SSH since then, so it couldn't have been a default change on update. I'm trying to remember now if I disabled that because of some of the sFTP config work I was doing. Thanks for getting me to look into that @ken-ji!
Archived
This topic is now archived and is closed to further replies.