Re: ssh confusion

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

 




On 01/23/16 07:23, Tom Horsley wrote:
> If I try to login to a fedora 23 virtual machine as root,
> I get rejected because of "too many authentication failures"
> (or something like that, I don't remember the precise
> wording).
>
> I'm running an agent, but none of the keys in the agent
> would allow a root login so I expect it to fallback
> to a password prompt, but I get the failure instead.
>
> When I then try with this:
>
> ssh -o PreferredAuthentications=keyboard-interactive,password
>
> I do indeed get a password prompt and can login.
>
> I suspect I'm suffering from the effects of the
> changes in f23 to remove various crypto algorithms
> and ssh1 support, etc. But I can't figure out
> what the heck is going on.
>
> Any ideas? I'd love to not have to dig up the
> silly long option every time I want to login as root :-).

I tried to replicate this using 2 real F23 systems.

I copied my id_rsa.pub on my local system to /root/.ssh/authorized_keys on the remote
machine. 

 [egreshko@meimei ~]$ whoami
egreshko
[egreshko@meimei ~]$ ssh root@acer
Last login: Sat Jan 23 07:37:23 2016 from 192.168.1.18
[root@acer ~]# whoami
root
[root@acer ~]#

Is this what's failing for you?



-- 
In reality, some people should stick to running Windows and others should stay away from
computers altogether.
-- 
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