10
Дек

Host key verification failed после обновления сервера Ubuntu

В логах сервера tail -F /var/log/auth.log при попытке подключится sftp клиентом
Dec 10 00:38:06 bugs sshd[16431]: Unable to negotiate with 15.14.181.178 port 36032: no matching host key type found. Their offer: [email protected],[email protected],[email protected],[email protected],ssh-rsa,ssh-dss [preauth]

nano /etc/ssh/sshd_config
Добавляем

PubkeyAuthentication yes
PubkeyAcceptedKeyTypes +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
HostKeyAlgorithms +ssh-rsa

Но скорее всего получим ошибку
Host key verification failed

Ищем расположение
find / -name sftp-server
и добавляем в nano /etc/ssh/sshd_config

Subsystem sftp /usr/lib/sftp-server

На клиенте также скорее всего нужно будет удалить

> /root/.ssh/known_hosts

После этого должно заработать. Но говорят, это не совсем безопасно.

Обратная связь

    The average number of adverse effects was 3. T max is 23 minutes in females and 32 minutes in males. What other drugs will affect doxercalciferol Viagra natural sin receta. Archived from the original on 2009-08-14.

    Talk to your doctor before using this form of cefadroxil if you have diabetes. What should I tell my healthcare team before starting CABLIVI? There is no FDA guidance on the use of Tetracycline (oral) with respect to specific gender populations https://www.apotheke-rezeptfreie.com/. Opper K, Uder S, Song K Development of Heterogeneous and Homogeneous Platforms for Rapid Analysis of DNA-Protein Interactions.