directory listing command error after install google-authenticator on CentOS 7

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Status



  • CentOS 7.5.1804 (Core)

  • Linux 3.10.0-862.14.4.el7.x86_64

Problem



After I installed and setting google-authenticator packages, weird authentication related message keep shown when I use directory listing command on user's home directory.



I've tested on another owned directory but nothing happend unless home directory.



ls, dir and authentication works fine but still message are annoying me :



$ 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 method33OAqsq


Logs



  • There is no related error or message on /var/log/secure and messages


  • sshd -t is okay

/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









share|improve this question









New contributor




Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    1
    down vote

    favorite












    Status



    • CentOS 7.5.1804 (Core)

    • Linux 3.10.0-862.14.4.el7.x86_64

    Problem



    After I installed and setting google-authenticator packages, weird authentication related message keep shown when I use directory listing command on user's home directory.



    I've tested on another owned directory but nothing happend unless home directory.



    ls, dir and authentication works fine but still message are annoying me :



    $ 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 method33OAqsq


    Logs



    • There is no related error or message on /var/log/secure and messages


    • sshd -t is okay

    /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









    share|improve this question









    New contributor




    Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Status



      • CentOS 7.5.1804 (Core)

      • Linux 3.10.0-862.14.4.el7.x86_64

      Problem



      After I installed and setting google-authenticator packages, weird authentication related message keep shown when I use directory listing command on user's home directory.



      I've tested on another owned directory but nothing happend unless home directory.



      ls, dir and authentication works fine but still message are annoying me :



      $ 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 method33OAqsq


      Logs



      • There is no related error or message on /var/log/secure and messages


      • sshd -t is okay

      /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









      share|improve this question









      New contributor




      Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      Status



      • CentOS 7.5.1804 (Core)

      • Linux 3.10.0-862.14.4.el7.x86_64

      Problem



      After I installed and setting google-authenticator packages, weird authentication related message keep shown when I use directory listing command on user's home directory.



      I've tested on another owned directory but nothing happend unless home directory.



      ls, dir and authentication works fine but still message are annoying me :



      $ 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 method33OAqsq


      Logs



      • There is no related error or message on /var/log/secure and messages


      • sshd -t is okay

      /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






      centos ls sshd pam






      share|improve this question









      New contributor




      Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 1 min ago





















      New contributor




      Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 13 mins ago









      Hyun-ju Baek

      62




      62




      New contributor




      Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Hyun-ju Baek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Hyun-ju Baek is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475493%2fdirectory-listing-command-error-after-install-google-authenticator-on-centos-7%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Hyun-ju Baek is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Hyun-ju Baek is a new contributor. Be nice, and check out our Code of Conduct.












          Hyun-ju Baek is a new contributor. Be nice, and check out our Code of Conduct.











          Hyun-ju Baek is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475493%2fdirectory-listing-command-error-after-install-google-authenticator-on-centos-7%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay