April 26, 20251 yr I am able to connect via SSH on my Debian VM if I log in as root, but when I try to log in as a user, the correct password is rejected with "Access Denied" I added my user account "tim" to /etc/ssh/sshd_config like this: # Authentication: # limetech - we need to allow root AllowUsers root tim PermitRootLogin yes I have restarted the ssh service sudo service ssh restart But I still cannot connect as user tim, only root.
April 27, 20251 yr Try updating to 7.1.0-rc.3, then copy /etc/ssh/sshd_config to /boot/config/ssh/sshd_config, now for any changes always edit /boot/config/ssh/sshd_config and reboot, that file will be loaded during boot.
April 27, 20251 yr Author Solution Edit - I was getting my SSH sessions confused between the Unraid OS and the Debian 12 OS running in a VM under Unraid. For the Unraid OS, I can log in SSH as root. I don't need to log in as other users. (the other users are for file shares on the array) For Debian 12, I can log in as tim, but not as root. However I can use su to become root, so there is no issue. Edited April 27, 20251 yr by timg11
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.