SSH still asks for password even after adding key to authorized_keys

view full story

http://serverfault.com – Here are the steps I did on my local computer: ssh-keygen -t rsa cat ~/.ssh/id_rsa | ssh [email protected] -p 1234 "cat > ~/.ssh/authorized_keys" When I do a ssh [email protected] -p 1234 it still asks for the password :o [email protected]'s password: Why is it so? I already added it to the authorized keys but it still asks for the password. sshd_config: Port 1234 Protocol 2 SyslogFacility AUTHPRIV PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys PasswordAuthentication yes ChallengeResponseAuthentication no GSSAPIAuthentication yes GSSAPICleanupCredentials (HowTos)