KVM VPS - sshd - просмотр логов

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

KVM VPS - sshd - просмотр логов

# grep "Failed password" /var/log/auth.log
# journalctl | grep "ssh"
# journalctl -r -b0 -t sshd    (-r - в обратном порядке)
# journalctl -r -b0 -u ssh     (-b0 - с последней перезагрузки)