I have a Liquid Web server running AlmaLinux OS, and I need to set up passwordless SSH access. I followed the steps provided in this guide from Liquid Web, but it didn’t work.
Steps I followed:
- Generated SSH key pair using
ssh-keygen
on my local machine. - Copied the public key to the server using
ssh-copy-id
. - Verified that the public key is present in
~/.ssh/authorized_keys
on the server. - Ensured the correct permissions for the
~/.ssh
directory andauthorized_keys
file:chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
Despite these steps, I’m still prompted for a password when attempting to SSH into the server.
Additional Information:
- Local OS: [Your Local OS]
- SSH Client: [Your SSH Client, e.g., OpenSSH]
- Server OS: AlmaLinux
- Server Provider: Liquid Web
Any guidance or suggestions would be greatly appreciated!
need answer
Questions:
- Are there any specific configurations or steps required for AlmaLinux that differ from the general guide provided by Liquid Web?
- What additional troubleshooting steps can I take to diagnose and resolve this issue?
New contributor
Yogesh Joshi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.