このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
serverapps:security:ssh [2024/02/02 11:47] hayashi [パスワードログインを禁止] |
serverapps:security:ssh [2024/02/02 12:28] hayashi [パスワードログインを禁止] |
||
---|---|---|---|
行 86: | 行 86: | ||
PasswordAuthentication no | PasswordAuthentication no | ||
ChallengeResponseAuthentication no | ChallengeResponseAuthentication no | ||
- | UsePAM no | + | |
FreeBSDは標準でPasswordAuthentication を禁止しているがChallengeResponseAuthentication は許可されているのでこちらも必ず「No」にしておく。 | FreeBSDは標準でPasswordAuthentication を禁止しているがChallengeResponseAuthentication は許可されているのでこちらも必ず「No」にしておく。 | ||
- | Ubuntuで以下の設定があったためこちらも禁止にする | + | Ubuntuで「/ |
<file / | <file / |