• MaggiWuerze@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    6 months ago

    So, no. SSH can’t do 2FA? I would need to set up Authelia and connect through that? I already use ssh keys instead of passwords to connect to my server

    • foggy@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      Yes it can. I literally have it set up right now.

      When I connect to my vps I am promoted for the password for my SSH key. Only works on a machine that has the ssh key.

      Then I need to use 2fa.

      • MaggiWuerze@feddit.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        Ah, so it the asks for the TOTP provided by Authelia? I misunderstood, sorry. That’s pretty cool. Do you maybe still have the guide you used to set that up?

    • lemmyreader@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      It is possible to have 2FA with a security key and ssh. Been on my to do list for some time to try it.