iptables - rule to block all other incoming traffic except ssh
Just append this:
iptables -A INPUT -j LOG --log-prefix "BLOCKED TRAFFIC > " --log-level 4
iptables -A INPUT -j DROP
Packets not matched by previous ACCEPTs (or DROPs) will be processed and so get LOGged and then DROPped...