Skip to main content

All Questions

Tagged with
0 votes
0 answers
61 views

Windows YubiKey GPG works with putty but not terminal

I created three gpg subkeys stored on my YubiKey as described here. I added enable-ssh-support and enable-putty-support to my gpg-agent.conf file. Everything works when accessing a server with the ssh-...
user avatar
3 votes
2 answers
3k views

Yubikey ssh authentication fails with "signing failed for ECDSA-SK"

I have a Yubikey (Security Key NFC by Yubico) that I'm trying to set up on a Linux machine for SSH authentication in Discoverable keys mode. I've followed this tutorial and created the keys with ssh-...
user134167's user avatar
0 votes
1 answer
3k views

YubiKey not working (device not found) in WSL while it works perfect under Windows directly

I use Yubikey to connect to multiple servers. I am doing this under windows and this works perfectly fine with my sshconfig in the .ssh directory. Now I have a case where I need to run some things ...
Hakairo's user avatar
1 vote
1 answer
459 views

How can I use a U2F hardware authenticator to unlock a SSH key in a computer I am SSH'd into?

I have a number of computers on which I've generated a ed25519-sk SSH key all using the same U2F hardware authenticator (yubikey 5C NFC). I'm now in a situation involving three computers: X, Y, and Z. ...
ahelwer's user avatar
  • 123
1 vote
2 answers
3k views

Unable to use Windows OpenSSH agent with GPG Agent and Yubikey

I have a Yubikey which has ed25519 certificates loaded onto it. One of these is an authentication certificate. I'm able to export the sha has of this by running gpg --export-ssh-key {key_id}, and ...
Desultory's user avatar
  • 318
1 vote
1 answer
493 views

What is the cryptographic relationship between an ssh key and my Yubikey?

I am curious what is the cryptographic relationship between the generated ssh private (and public) key when I use my Yubikey to add an extra layer of protection. Does ssh-keygen write anything into ...
Halacs's user avatar
  • 132
0 votes
1 answer
2k views

SSH Using YubiKey 5 and ED25519 Algorithm

I am starting to use a YubiKey 5 to ssh into remote boxes instead of using a software key. I am generating the keys using this command: ssh-keygen -t ed25519-sk This works when I ssh into Ubuntu, but ...
Dan Largo's user avatar
  • 103
2 votes
0 answers
371 views

ssh-add -s Win10

I am unable to add my card using ssh-add -s on Windows 10, ssh-agent is running. Getting below error: C:\Program Files\Yubico\Yubico PIV Tool\bin>ssh-add -s libykcs11.dll Enter passphrase for PKCS#...
gy082517's user avatar
-1 votes
1 answer
923 views

Using ssh key on Yubikey on Sourcetree program

I can not make sourcetree work with the ssh key that i have in my yubikey. Does anybody know how can i fix it? Thank you. P.D: I have tried different recommendations that i found on the internet, ...
thewolfx41's user avatar
0 votes
1 answer
312 views

make .ssh/id_rsa read key from yubikey

I have my ssh keys within a yubikey, I use gpg-agent.conf with something like this: pinentry-program /usr/local/bin/pinentry-mac enable-ssh-support default-cache-ttl 60 max-cache-ttl 120 This helps ...
nbari's user avatar
  • 313
6 votes
2 answers
20k views

How to setup SSH/PuTTY to use Yubikey OpenPGP authentication?

I would like to use YubiKey's OpenPGP interface to authenticate myself against my OpenSSH server on Windows 10: I created the keys according to this: gpg --card-status Reader ...........: Yubico ...
burnersk's user avatar
  • 446