Solaris SSHの最近のブログ記事

Solaris SSH の PasswordAuthentication no

| トラックバック(0)

パスワード入力による認証を切りたくて、/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 にすることで、パスワード認証を切ることができました。

: Twitter Updates

    follow me on Twitter

    ウェブページ

    タグクラウド

    Techonrati

    Technorati search

    » リンクしているブログ

    Powered by Movable Type 4.23-ja