are you affected?

  • is your sshd running on musl? (alpine, openwrt, buildroot, yocto)
  • is it not using pam? alpine’s openssh-server doesn’t by default, or maybe you set UsePAM no
  • are password logins still on? they are by default
  • is there an account with just * as its password? key-only users, ldap users, root on alpine
  • and some other account with a real password?
  • then that * account takes any password between 257 and 1024 characters

on alpine’s official aws and azure images that’s the default alpine user, and it has passwordless doas. so it’s root

on debian, ubuntu, fedora or anything else with glibc? going through pam? dropbear? openbsd? you’re fine

  • Daniel Quinn@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    12 hours ago

    I’ve been setting UsePam = no for decades because leaving it on meant that it’d still present a password login of keys failed. Is this still the case, was I wrong from the beginning, or is this somehow ok?

    • needanke@feddit.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      10 hours ago

      The way I read it, it is fine if you do not allow password authentication in general?