Score:1

Securing SSH access with YubiKey: ed25519-sk vs. pam_yubico

cn flag

I just got some YubiKeys to secure my important accounts and am now wondering about the best way of securing access to some VPS boxes I have. Up until now, I have disabled password-based login and used SSH keys to connect to the servers.

As far as I can tell from some research, there are two ways to secure SSH access with a YubiKey:

  1. Generating a ed25519-sk key pair which can only be used together with the YubiKey
  2. Using the pam_yubico module on the server to only allow access with a regular SSH key and the YubiKey as a second factor

Is there any reason to prefer one of these over the other for security or convenience?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.