Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH issues #62

Open
mikelawson68 opened this issue Sep 13, 2024 · 3 comments
Open

SSH issues #62

mikelawson68 opened this issue Sep 13, 2024 · 3 comments

Comments

@mikelawson68
Copy link

mikelawson68 commented Sep 13, 2024

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.

@codyro
Copy link
Member

codyro commented Sep 14, 2024

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.

@metalefty
Copy link
Member

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.

@mikelawson68
Copy link
Author

Thanks for the tips, I will report back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants