ssh confusion

Ed Greshko ed.greshko at greshko.com
Fri Jan 22 23:42:07 UTC 2016



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 at meimei ~]$ whoami
egreshko
[egreshko at meimei ~]$ ssh root at acer
Last login: Sat Jan 23 07:37:23 2016 from 192.168.1.18
[root at acer ~]# whoami
root
[root at 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.


More information about the users mailing list