Centos6 version ssh connects CentOS7.6 and above version prompts RSA and ecdsa problems

CentOS7.6 enables ecdsa authentication by default, and ecdsa is also used. This leads to the need to enter a password even when the certificate is imported when using 6 as a springboard to log in to ssh.

The prompt information is as follows

Solution:

vim /etc/ssh/sshd_config

Comment the following information:

Then restart the sshd service:

systemctl restart sshd

Guess you like

Origin blog.csdn.net/zetion_3/article/details/110799893