Closed fishooo0815 closed 2 years ago
This is a limitation of the hardware. You can send a SIGHUP to yubikey-agent to disconnect the connection so that yubico-Authenticator can connect.
How would you send this "SIGHUP"?
Something like pkill -HUP yubikey-agent
should do the job. Yubikey-agent will disconnect but keep running.
And is there a way to reconnect this?
yes, the next ssh operation will reconnect. it may ask for your passphrase/PIN again at that point.
Is it posible to trigger the command pkill -HUP yubikey-agent
...
... after the connection is asstabliched
... or after a amound of secconds?
Maybe placed in the ~/.ssh/config
file?
I installed the yubikey-agent It is working fine with SSH.
But the Yubico Authenticator can't find the Key any more: