Unable to set up a two way passwordless ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux