Quantcast
Channel: しのぶら!!! » sawanoboly
Viewing all articles
Browse latest Browse all 15

Joyent SmartOSのSun_SSHでパスワード認証を無効にする

$
0
0

SmartOSのSSHデーモンはSun_SSH、設定は2つ必要だ。

smartos-blue

PasswordAuthentication no
KbdInteractiveAuthentication no

従来のSolarisで使われているPAMAuthenticationViaKbdIntは古いみたい、一応動くけど警告が出る。

PAMAuthenticationViaKbdInt has been deprecated. You should use KbdInteractiveAuthentication instead (which defaults to “yes”).

設定したらリスタート、コンフィグテストを忘れずにね。

# /usr/lib/ssh/sshd -t  # Only test configuration
# svcadm restart ssh

Viewing all articles
Browse latest Browse all 15

Trending Articles