I've set up an linux server (32 bit), and would like to be able to ssh in as root based on RSA or DSA key trust. I've appended both public keys to ~/.ssh/authorized_keys and restarted the service; I am still prompted for a password. How do I enable key-based trust for ssh here?
Check to make sure following is true in the case of your SSHD server
Sometimes AuthorizedKeysFile switch is directed towards authorized_keys2 file
Then add your public keys under your
/your/home/.ssh/authorized_keys or /your/home/.ssh/authorized_keys2 depending on your configuration.
Yes and finally chmod authorized keys to 600.
**Please also check on "ErikA"'s answer