H
H
HighMan2020-12-27 20:18:34
SSH
HighMan, 2020-12-27 20:18:34

Ssh key authentication not working. Why?

Hello comrades!
Some completely incomprehensible problem. There was never a time and here again ...
Never a problem with passwordless access

ssh-keygen
ssh-copy-ip -p 222 [email protected]

The key is copied to a remote server (Debian Jessie) and you can log in fine without a password.
Today I demolished Debian Buster on my home laptop and installed Fedora 33.
I did everything, as many times before, but when logging in via ssh to a remote server, it still requires a password.
Desperate for authorized_keys (Jessie), I manually copied the contents of id_rsa.pub.
Dudki! Requires a password - even crack!
Help defeat this nepruha!

PS on a remote server
ssh -V
OpenSSH_6.7p1 Debian-5+deb8u8, OpenSSL 1.0.1t  3 May 2016

On Fedora
sh -V
OpenSSH_8.4p1, OpenSSL 1.1.1i FIPS  8 Dec 2020

ssh-add on the laptop didn't work either.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HighMan, 2020-12-27
@HighMan

https://docs.fedoraproject.org/en-US/fedora/rawhid...

ssh-keygen -t ecdsa
ssh-copy-ip -p 222 [email protected]

After that it worked!
Excuse me, how do you know that the issue is resolved?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question