Disable root ssh login :
edit /etc/ssh/sshd-config
locate #PermitRootLogin yes to PermitRootLogin no
save file and restart the ssh : service sshd restart
just use sudo
Trace ssh users with most Failed Login Attempts :
#cat secure* grep 'Failed password' awk '{print $9}' sort -rn uniq -c
insert this head -10 - to list top 10 failed ssh
Subscribe to:
Post Comments (Atom)
1 comment:
also a rehashed post from my domain
http://www.ilovetux.com/2008/08/how-to-get-ssh-users-with-most-failed-login-attempts-via-terminal.html
Post a Comment