Information
The MaxAuthTries parameter specifies the maximum number of authentication attempts permitted per connection. The default value is 6.
Note - If you will be editing all the SSH parameters, use the script in section 6.1 Configure SSH.
Solution
Edit the /etc/ssh/sshd_config file to set the parameter as follows-
awk '/^ MaxAuthTries/ { $2 = '3' } { print }' /etc/ssh/sshd_config > /etc/ssh/sshd_config.new
/usr/bin/mv /etc/ssh/sshd_config.new /etc/ssh/sshd_config
/usr/sbin/pkgchk -f -n -p /etc/ssh/sshd_config
/usr/sbin/svcadm restart svc:/network/ssh