問題 lpic-202-450-topic-1-question-8・第3版

旧版のsshdで、パスワードを入力する方式のログインを無効にしたい。noへ設定する認証項目を2つ選べ。

  1. A PAMAuthentication
  2. B ChallengeResponseAuthentication
  3. C PermitPlaintextLogin
  4. D UsePasswords
  5. E PasswordAuthentication

正解:B、E

理由

PasswordAuthenticationと、旧名ChallengeResponseAuthenticationを無効にする。キーボード対話認証経由でパスワードを使う構成もあるため、両方を扱う。現行名はKbdInteractiveAuthenticationである。

選択肢ごとの説明

A. PAMAuthentication

sshd_configでこの名前のパスワード認証設定を使わない。

B. ChallengeResponseAuthentication

旧版でキーボード対話認証を制御する項目である。PAM経由のパスワード入力も止めるには、この方式も無効にする。

C. PermitPlaintextLogin

sshd_configのこの認証設定の正式名ではない。

D. UsePasswords

パスワード認証の正式名はPasswordAuthenticationである。

E. PasswordAuthentication

SSHのパスワード認証を無効にする。

お問い合わせ

演習する →