Citace Původně odeslal dekon
No do /var/log/lastlog to zapise IP z ktere se prihlasim naposledy ale jedinej log co to dela.

Hmm tak to vypada ze to normalne loguje do /var/log/messages:
Kód:
Dec  3 10:31:25 gentoo sshd(pam_unix)[20011]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=66.188.182.36
EDIT: Chtel jsem pouzit ten skript BlockHosts, ale v systemu vubec nemam soubor /etc/hosts.deny, mam ho normalne vytvorit rucne ?
mel bys tam mit:
/etc/hosts
/etc/hosts.allow
/etc/hosts.deny

BlockHosts blokuje pomoci hosts.deny

Je zvlastni, ze tam ten soubor nemas, ja ho mel v kazde instalaci L od zacatku