SSH root login failure

Forum Forums New users New Users and General Questions SSH root login failure

  • This topic has 2 replies, 2 voices, and was last updated Mar 18-12:37 pm by Sprite.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19466
    Member
    Sprite

      Hello,
      please help!

      What magic to put in a conf file to allow root password login with SSH?

      antiX-16_x64-base Berta Cáceres

      /var/log/auth.log:
      alpha sshd[2230]: Address 192.168.0.10 maps to alpha, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
      alpha sshd[2230]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.0.10  user=root
      alpha sshd[2230]: Failed password for root from 192.168.0.10 port 50075 ssh2
      alpha sshd[4465]: Address 192.168.0.10 maps to alpha, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
      alpha sshd[4465]: Accepted password for user from 192.168.0.10 port 50194 ssh2
      #19479
      Anonymous
        Helpful
        Up
        0
        ::

        please read, then choose an alternative authentication method
        mitigating-ssh-based-attacks-top-15-best-security-practices

        #19533
        Member
        Sprite
          Helpful
          Up
          0
          ::

          So the magic is:

          /etc/ssh/sshd_config:
          PermitRootLogin [without-password => yes]

          🙂

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.