Как решить проблему pam_unix(sshd:auth): authentication failure?

Различные вопросы по установке и настройке фреймворка, конфигурции веб-сервера и IDE.
Ответить
EVOSandru6
Сообщения: 605
Зарегистрирован: 2014.07.04, 13:33

Как решить проблему pam_unix(sshd:auth): authentication failure?

Сообщение EVOSandru6 » 2018.11.26, 09:33

Добрый день!

После несколькх дней работы на Vps докер благополучно упал:

Код: Выделить всё

sudo service docker start
A dependency job for docker.service failed. See 'journalctl -xe' for details.

Код: Выделить всё

journalctl -xe
Nov 26 05:54:58 vps41742912.local systemd[1]: Dependency failed for Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: www.ubuntu.com/support
--
-- Unit docker.service has failed.
--
-- The result is RESULT.
Nov 26 05:54:58 vps41742912.local systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.
Nov 26 05:54:58 vps41742912.local systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: www.ubuntu.com/support
--
-- Unit docker.service has finished shutting down.
Nov 26 05:54:58 vps41742912.local sudo[870]: pam_unix(sudo:session): session closed for user root
Nov 26 05:55:01 vps41742912.local sshd[869]: Failed password for invalid user auth from 5.228.248.50 port 50303 ssh2
Nov 26 05:55:01 vps41742912.local sshd[869]: Received disconnect from 5.228.248.50 port 50303:11: Bye Bye [preauth]
Nov 26 05:55:01 vps41742912.local sshd[869]: Disconnected from invalid user auth 5.228.248.50 port 50303 [preauth]
Nov 26 05:55:02 vps41742912.local sshd[896]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Nov 26 05:55:02 vps41742912.local sshd[896]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Nov 26 05:55:02 vps41742912.local sshd[896]: Invalid user tweece from 217.182.129.53 port 55414
Nov 26 05:55:02 vps41742912.local sshd[896]: pam_unix(sshd:auth): check pass; user unknown
Nov 26 05:55:02 vps41742912.local sshd[896]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=217.182.129.53


В чем может быть причина?

Может ли быть из за того, что у меня нет файла: /var/run/docker.sock

Раннее для успешного запуска проделывал следующие действия:

Код: Выделить всё

sudo addgroup --system docker;
sudo adduser $USER docker;
newgrp docker;
sudo service docker restart;
sudo reboot NOW

На этот раз не помогает.

Есть еще такой лог:

Код: Выделить всё

journalctl -f
Failed password for root from 115.238.245.14 port 52257 ssh2
error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Invalid user ts3 from 204.77.151.176 port 47550
pam_unix(sshd:auth): check pass; user unknown
pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=204.77.151.176
Failed password for invalid user ts3 from 204.77.151.176 port 47550 ssh2
Received disconnect from 204.77.151.176 port 47550:11: Bye Bye [preauth]
Disconnected from invalid user ts3 204.77.151.176 port 47550 [preauth]
Failed password for root from 115.238.245.14 port 52257 ssh2
Received disconnect from 115.238.245.14 port 52257:11: [preauth]
Disconnected from authenticating user root 115.238.245.14 port 52257 [preauth]
PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=115.238.245.14 user=root
error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=115.238.245.14 user=root

Ответить