A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 # The SSHDLOG section maps sshd messages into one of several types, Invalid User, Bad password for valid user, Good password for valid user and No Id string. Each version and distribution uses different message formats, so the exact format needs to be user configurable. These are already supplied for quite a few distributions. 2 3 # The only change over RH7.3 is the change from Illegal to Invalid. 4 5 # Invalid user or Failed user 6 #msg_invalid='^Invalid user (.*) from ([0-9a-fA-F:\.]+)' 7 #map_invalid='push @res,$1; push @res,$2;' 8 9 msg_invalid='^Failed [^ ]+ for invalid user (.*) from ([0-9a-fA-F:\.]+) port [0-9]+ ssh2' 10 map_invalid='push @res,$1; push @res,$2;' 11 msg_invalid='^User (.*) from ([0-9a-fA-F:\.]+) not allowed because not listed in AllowUsers' 12 map_invalid='push @res,$1; push @res,$2;' 13 14 # Failed valid user 15 msg_failed_valid='^Failed password for (.*) from ([0-9a-fA-F:\.]+) port [0-9]+ ssh2' 16 map_failed_valid='push @res,$1; push @res,$2;' 17 18 # Accepted a valid user 19 #[7299] Feb 23 19:45:46 password auth succeeded for 'vladimir' from 127.0.0.1:33462 20 msg_accepted_user='^Accepted [^ ]+ for (.*) from ([0-9a-fA-F:\.]+) port [0-9]+ ssh2' 21 map_accepted_user='push @res,$1; push @res,$2;' 22 23 # [7412] Feb 23 19:50:33 exit before auth: Failed to get remote version 24 msg_no_id_string='^Did not receive identification string from ([0-9a-fA-F:\.]+)' 25 map_no_id_string='push @res,$1;' 26 27 # [7272] Feb 23 19:52:16 premature exit: Terminated by signal 28 msg_quit='^Received signal ([0-9]+); terminating.' 29 map_quit='push @res,$1;' 30