Open mikelawson68 opened 2 months ago
Password authentication/root authentication is disabled by default (see: https://github.com/AlmaLinux/raspberry-pi/blob/master/AlmaLinux-9-RaspberryPi-gnome.aarch64.ks#L97, https://wiki.almalinux.org/documentation/raspberry-pi.html#configuration-using-cloud-init). You can check this by running sshd -T | grep passwordauth
and seeing what it's set to.
You can also check /var/log/secure
, which should also provide more information (you might want to increase the LogLevel
to something like DEBUG
.
You should try to SSH login as almalinux user with pubkey authentication. It is much easier than struggling to enable password login with root/almalinux user.
After logging in as almalinux user with pubkey authentication, feel free to edit the configuration to enable password authentication.
Thanks for the tips, I will report back.
Using the 9.4 image with GUI, I am struggling with SSH access to the machine. I have flashed it with Raspberry and BalenaEtcher, a couple of times, and tried every trick I know to get SSH to work but am having issues. Is there something with root on this version I dont know about? I changed root password, it tried it with the almalinux default user, made users, just not getting anywhere. Permission denied (publickey,gssapi-keyex,gssapi-with-mic). is the persistent issue even with everything set as it should be for password, root access, etc in ssh config. Another install, added test default user almalinux to wheel for admin, rebooted, checked ssh install, etc can't connect. Any guidance appreciated.