We migrated the first box to Solaris 11 and we experienced the first bug, as soon as we login onto the server, it would wait and wait and continue to wait….
As these delays are quite common when SSH’d is configured with the default settings, we quickly modified the lines below to help with the issue.
We modified /etc/ssh/sshd_config to remove GSSAPI and DNS common causes for this issues.
/etc/ssh/sshd_config LookupClientHostnames no VerifyReverseMapping no GSSAPIAuthentication no
And disable to help with some crypto issues.
cryptoadm disable provider=/usr/lib/security/\$ISA/pkcs11_tpm.so mechanism=all cryptoadm uninstall provider=/usr/lib/security/\$ISA/pkcs11_tpm.so
Reference
http://thomas.gouverneur.name/2012/04/20120412ssh-connection-to-solaris-11-is-sometimes-slow/