cmr-raid Posted July 2 Share Posted July 2 (edited) How can I disable password authentication for SSH? I can't get anything I've found to work. Putting ssh_config into /boot/config/ssh and modifying it to have "PasswordAuthentication no" uncommented has not worked. Good day to all and thanks for the help. Edited July 2 by cmr-raid Quote Link to comment
cmr-raid Posted July 2 Author Share Posted July 2 Thank you. After taking a closer look I've done everything in ssh_config instead of sshd_config For anyone stumbling over this thread, I uncommented these following lines PasswordAuthentication no PermitEmptyPasswords no KbdInteractiveAuthentication no They're close together in the sshd_config template file you find in /etc/ssh. Copy them to /boot/config/ssh and make your edits there to have them persist across reboots. 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.