パスワード入力による認証を切りたくて、/etc/ssh/sshd_config の PasswordAuthentication を no に設定する。
あれ? svcadm restart ssh してもパスワード認証できてしまいますよ。
こいつが犯人でした。
--
# Use PAM via keyboard interactive method for authentication.
# Depending on the setup of pam.conf(4) this may allow tunneled clear text
# passwords even when PasswordAuthentication is set to no. This is dependent
# on what the individual modules request and is out of the control of sshd
# or the protocol.
PAMAuthenticationViaKBDInt yes
--
ちゃんとコメント読んどけよって感じですが orz
PAMAuthenticationViaKBDInt も no にすることで、パスワード認証を切ることができました。
