
そこで、ワカモレを使用して 127.0.0.1 ssh シェルにアクセスしたいと思います。
プレーンテキスト パスワード認証とルート ログインを無効にしました。通常の SSH セッションにはプライベートを使用します。
sshd 設定でローカルホストのログインをパスワードで認証できるようにする方法はありますか?
ありがとう!
答え1
ブロック内で再度有効にしますMatch
。
PasswordAuthentication no
ChallengeResponseAuthentication no
Match Address ::1
PasswordAuthentication yes
Match Address 127.0.0.1
PasswordAuthentication yes