If you are experiencing a brute-force ssh attack (people or robots trying different combinations of username and password to log into remote servers), you probably want to implement a fail2ban strategy to prevent them to keep trying. Here is a really quick and easy guide on how to get it ready in your ubuntu AWS ec2 instance.
Read