Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
1 / 5
0

Hardware-backed SSH keys, end to end: YubiKey, PIV, software alternatives, and where SSH CAs fit in

DEV Community·Ilya R.·23 days ago
#jRSGlI2s
#knob#ssh#yubikey#touch#resident#agent
Reading 0:00
15s threshold

This is a working guide to using a YubiKey for SSH on a real Linux fleet, plus the surrounding landscape — PIV, software-only alternatives, and SSH certificate authorities. The goal is to retire file-based SSH keys without breaking daily operations. The article is structured around four questions: What does a hardware-backed key actually do, and what knobs do you control? How do you combine those knobs into a policy that works for both root login and Ansible? What if you can't ship YubiKeys? When should you stop managing keys yourself and adopt an SSH CA? The problem with file-based keys Every classic SSH key is a file in ~/.ssh/ . That file holds the private key. To log in to a server, your SSH client reads the file and produces a cryptographic signature. There are really two issues here, and they compound: The private key is a file.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More