nnhoang Posted June 25, 2020 Share Posted June 25, 2020 I can't seem to access my unRAID system through SSH after changing the root user password in the webUI. I can login the webUI just fine with the password, but SSH simply doesn't work. In the webUI terminal, I ran passwd root to change the root password, but I still can't access the box from another computer.. Any ideas? I initially used a password manager generated password with special characters, but hearing that it causes problems, I switched it to just letters and numbers. Quote Link to comment
itimpi Posted June 25, 2020 Share Posted June 25, 2020 4 hours ago, nnhoang said: In the webUI terminal, I ran passwd root to change the root password, but I still can't access the box from another computer. You do not want to change the password this way as it will not survive a reboot. You need to do it via the webUI for it to be persistent. As you mentioned avoid using special characters (or ones that are language specific and not part of the standard English keyboard map). Quite why you can log in via the webUI and not by SSH I do not know. 1 Quote Link to comment
Squid Posted June 25, 2020 Share Posted June 25, 2020 I'd try deleting /config/ssh from the flash drive. Also, if you've got installed the SSH plugin installed, then uninstall and reboot. 1 Quote Link to comment
nnhoang Posted June 26, 2020 Author Share Posted June 26, 2020 So following a few guides, it seems unraid isn't really designed to be worked with the CLI, just the webUI. That's fine with me, I just like access to the CLI for manual tweaking as I'm a Linux user. It seems the SSH plugin was what was causing the problem. I uninstalled it, deleted the /config/ssh folder, changed the password and it worked. I still wanted SSH access and my end goal was a SSH-key access, so I reinstalled SSH plugin and revoked access to SSH after following a guide to allow SSH-keys. Quite a few workarounds, but everything is working smoothly now. I'm familiar with having to run scripts to get persistent setups, reminds me of ESXi. Thanks all! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.