状態

状態

状態

  • CentOS 7.5.1804(コア)
  • Linux 3.10.0-862.14.4.el7.x86_64

質問

パッケージをインストールして設定した後、google-authenticatorユーザーのホームディレクトリでディレクトリリストコマンドを使用すると、奇妙な認証関連のメッセージが表示され続けます。

別の所有ディレクトリでテストしましたが、ホームディレクトリでなければ何も起こりません。

lsdir認証は正常に機能しますが、メッセージはまだ迷惑です:\

$ ls
cannot be satisfied by enabled authentication method?OAqsq

$ ls -al
합계 208
drwx------   6 user user  4096 10월 15 10:06 .
drwxr-xr-x.  3 root root      20 10월 10 12:23 .. cannot be satisfied by enabled authentication method?OAqsq

$ dir
cannot\ be\ satisfied\ by\ enabled\ authentication\ method\033OAqsq

丸太

  • /var/log/secure関連するエラーやメッセージはありません。messages
  • sshd -tそれは問題ではありません

/etc/ssh/sshd_config

PermitRootLogin no
StrictModes yes

UsePAM yes
PasswordAuthentication yes
PubkeyAuthentication yes
GSSAPIAuthentication no

AuthorizedKeysFile .ssh/authorized_keys
ChallengeResponseAuthentication yes

AuthenticationMethods publickey,password publickey,keyboard-interactive

/etc/pam.d/sshd

#%PAM-1.0
auth         required       pam_sepermit.so
#auth       substack     password-auth
...
-session   optional     pam_reauthorize.so prepare
auth       required     pam_google_authenticator.so nullok

ベストアンサー1

私はとても愚かなので、cannot be satisfied by enabled authentication method?OAqsq私のホームディレクトリに「.」というファイルがあります。

おすすめ記事