I have two Fedora 20 boxes that I am trying to set up a passwordless login 
from each to the other. I am able to set up the login from one, bert, to the 
other, ernie, but not the other way around.

To create it, I do the following:

On bert,

    remote_user=jack@ernie
    ssh-keygen -t dsa
    ssh ${remote_user} mkdir -p .ssh
    ssh ${remote_user} chmod 700 .ssh
    cat .ssh/id_dsa.pub | ssh ${remote_user} 'cat >> .ssh/authorized_keys'
    ssh ${remote_user} chmod 600 .ssh/authorized_keys

Then when I execute
    ssh ${remote_user}

I can go from bert to ernie without a password. Reversing the process however 
doesn't work, I still need a password to go from ernie to bert. What is most 
confusing is that I haven't found any configuration option that is different 
between the two.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to