ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Access denied - SSH login

    IT Discussion
    7
    27
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      scottalanmiller
      last edited by

      Yeah, that is a bit odd.

      1 Reply Last reply Reply Quote 0
      • T
        travisdh1 @AdamF
        last edited by

        @fuznutz04 If you comment out 'PermitRootLogin yes' and leave 'AllowGroups wheel' in, are you able to login as a member of the wheel group? Thinking it might not like overlapping root and wheel, maybe.

        I'm with @scottalanmiller, it doesn't make sense either way.

        A 1 Reply Last reply Reply Quote 0
        • S
          stacksofplates
          last edited by

          I think allow group will only allow members from that group and since root isn't part of wheel it can't log in.

          1 Reply Last reply Reply Quote 0
          • S
            stacksofplates
            last edited by

            If you add

            AllowUsers root 
            

            it should also let root along with the wheel group.

            1 Reply Last reply Reply Quote 1
            • A
              AdamF @travisdh1
              last edited by

              @travisdh1 Didn't like that either. It also doesn't work if I remove AllowGroups and try it with AllowUsers. It's almost like any line I add into that config borks the entire thing.

              1 Reply Last reply Reply Quote 1
              • S
                scottalanmiller
                last edited by

                Very odd, indeed. Sorry I don't have any magic insight there.

                A 1 Reply Last reply Reply Quote 0
                • A
                  AdamF @scottalanmiller
                  last edited by

                  @scottalanmiller Yeah, it was a test box on Vultr, and in the end, I'll probably just reinstall it, but the fact that it's doing this is bothering me, especially thinking about if it would be a production box. Oh well, thanks for the help.

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  • First post
                    Last post