ユーザ用ツール

サイト用ツール


serverapps:security:ssh

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:security:ssh [2024/02/02 02:47] – [パスワードログインを禁止] hayashiserverapps:security:ssh [2024/02/02 03:28] (現在) – [パスワードログインを禁止] hayashi
行 86: 行 86:
   PasswordAuthentication no   PasswordAuthentication no
   ChallengeResponseAuthentication no   ChallengeResponseAuthentication no
-  UsePAM no+
  
 FreeBSDは標準でPasswordAuthentication を禁止しているがChallengeResponseAuthentication は許可されているのでこちらも必ず「No」にしておく。 FreeBSDは標準でPasswordAuthentication を禁止しているがChallengeResponseAuthentication は許可されているのでこちらも必ず「No」にしておく。
  
-Ubuntuで以下の設定があったためこちらも禁止にする+Ubuntuで「/etc/ssh/sshd_config.d/50-cloud-init.conf」に以下の設定があったためこちらも禁止にする
  
 <file /etc/ssh/sshd_config.d/50-cloud-init.conf> <file /etc/ssh/sshd_config.d/50-cloud-init.conf>
serverapps/security/ssh.1706842054.txt.gz · 最終更新: 2024/02/02 02:47 by hayashi