/ Last updated : 2023年2月23日 mamemoyashi kusanagiユーザーでのsshログイン時に認証?が挟まらない TOP › Forums › バグ報告と提案(Requests and Feedback) › kusanagiユーザーでのsshログイン時に認証?が挟まらない kusanagiユーザーでのsshログイン時に認証?が挟まらない This topic has 2 replies, 3 voices, and was last updated 3 months ago by cloudy. Viewing 2 reply threads Author Posts 2023年2月23日 at 00:16 #1176 mamemoyashiParticipant KUSANAGI Version 9.2.19-1.el8 KUSANAGIの初期設定 こちらの手順に沿って初期設定をした後、 /etc/ssh/sshd_config に以下の内容を反映させていますが、 パスワードなしや鍵指定なしの ssh kusanagi@{ip} でログインが通ってしまいます。 ` PasswordAuthentication no PermitEmptyPasswords no ChallengeResponseAuthentication no ` kusanagiユーザーのログイン時に認証を通すには、追加で何らかの設定が必要なのか、上記の他に設定箇所があるのでしょうか? なお ~/ssh/config をはじめとしたローカルの設定に当該サーバーの情報は追加しておりません。 また、rootユーザーは Permission denied (publickey,gssapi-keyex,gssapi-with-mic) で正しく弾かれます。 2023年2月23日 at 00:29 #1177 ichiruParticipant 設定に問題がありますね。 PasswordAuthentication no これはパスワード認証の設定なのでnoにしていたらパスワード認証はoffなので PasswordAuthentication yes に変更してください。 それ以外の PasswordAuthentication no ChallengeResponseAuthentication no は私の環境では #PasswordAuthentication no ChallengeResponseAuthentication no 2023年2月24日 at 19:59 #1178 cloudyParticipant mamemoyashi さん、こんにちは。 まず、トップページにある通り、kusanagi status の結果を教えて下さい。 そのうえで、下記の設定についていくつか確認したいことがあります。 PasswordAuthentication no PermitEmptyPasswords no ChallengeResponseAuthentication no 1. 上記の設定は公式の手順ではないと思いますが、追加で設定したということでよろしかったでしょうか? 2. 上記の設定をもとに戻せば、意図していた動作になるということでしょうか? 3. 上記の設定をした理由や参考にしたページなどありますでしょうか? 4. そもそも何をしたかったのか目的を詳細を教えていただけますでしょうか? Author Posts Viewing 2 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In