News for hackers. Stuff that matters.
Re:YubiKey 4C by StavrosK on Tuesday February 14, 2017 @10:02AM (#13643901)
Thank you, this is the best guide I've seen so far. It's much simpler to install and use. However, like you, I'm having some problems. Adding the key to the ssh-agent asks for a PKCS password and always comes back with "agent refused cooperation". I also can't log in to a host that has that SSH key, but maybe that's because I have too many keys loaded...

EDIT: Never mind, it works perfectly, thanks!

Re:YubiKey 4C by nickik on Friday February 17, 2017 @06:59AM (#13667610)
This is the issue I had. I can access the key directly from the file but not add it.

How did you solve it?

Re:YubiKey 4C by StavrosK on Friday February 17, 2017 @09:03AM (#13668284)
This is a whole post, but basically, there are multiple SSH agents. ssh-agent supports the card and ed25519 keys, but doesn't support persisting keys across reboots. Gnome keyring supports persisting keys, but no card or ed25519 (AFAIK). gpg-agent supports persisting keys and ed25519, but no card.

Unfortunately, there's no perfect solution, so I just added an alias "yubissh" to include the library in the command line :(