I have a rh9 box running the openssh server. I can connect using my username/password. But i am trying to set it up so i can log in using public key authentication and its failing. I generated a key, converted it to openssh format (https://support.ssh.com/rqcustomer/servlet/kb?page=kb_info&defid=1951)
I ran sshd in debug mode and the only obvious error message i found was:
debug1: trying public key file /home/merk/.ssh/authorized_keys2
Authentication refused: bad ownership or modes for file /home/merk/.ssh/authorized_keys2
I set ownership to my home dir, the ssh dir and the key file to merk:users and mode to 777 but I still get that error message. Any ideas as to what i am doing wrong?
ian
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list