#author("2024-08-10T17:46:49+00:00","default:yoya","yoya")
#author("2024-08-10T17:46:59+00:00","default:yoya","yoya")
-PAMの役割
-- https://open-groove.net/lpic/pam-modules/ [https://web.archive.org/web/20190122233202/https://open-groove.net/lpic/pam-modules/ 20190122233202]
-- https://open-groove.net/lpic/pam-modules/ ([https://web.archive.org/web/20190122233202/https://open-groove.net/lpic/pam-modules/ 20190122233202])
* sshd [#qc7bfe0e]
- sshdでパスワードログインを禁止する
-- https://geroforce.hatenablog.com/entry/2019/06/15/220821
とりあえずこれでOK
#/etc/ssh/sshd_config
PasswordAuthentication no
ChallengeResponseAuthentication no
KbdInteractiveAuthentication no
UsePAM Yes