Hi all. I'm trying to set up my sshd server so that I don't need to type in passwords when I log on. I'm having trouble getting it to work and was wondering if someone could help me out.
When I try to log on from the remote host, I get this:
Permission denied (publickey,keyboard-interactive)
Here's the relevant parts of my sshd_config file:
Code:
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile '%h/.ssh/authorized_keys'
PasswordAuthentication no
PermitEmptyPasswords no
I went to ~/.ssh/ and did "cat known_hosts > authorized_keys"
Is this the correct way to set up that file?
can somebody help me out here?
thanks in advance.