ssh keygen; asking for password
I am setting up a server so "userA" is using keys from "serverA" to access "serverB, userB".
I created keys using "ssh-keygen -t rsa -f id_rsa" in /home/userA/.ssh
copy .pub file to serverB/user B/.ssh
copied contents of .pub file into the /.ssh/authorized_keys file
chmod 700 to the .ssh directories and .pub files
chmod 600 to the authorized_key file
From serverA as userA, "ssh - v userB@serverB"
the debug1 message indicates it found the key file and took it but later prompts me for "userB password: " I enter the password and the connection continues.
But after making a connection, I'm prompted to enter the password for "user B".
I've gone back and forth on this several times; reinstalling trying different type of keys (rsa, dsa, ssh), each having the same symptom of asking for the password and as you might imagine, it's getting a bit frustrating.
Any thoughts or suggestions?
Thanks in advance