You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A smart card public key file is deleted from the disk on card removal, while it might be beneficial to have it there at all times, to not generate a warning (no such identity: /Users/martin/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/xxx.pub: No such file or directory) if the file is referenced in .ssh/config IdentityFile and the card is not currently inserted.
Workaround is to copy the pubkey to a permanent location, like inside ~/.ssh. If the key in the fixed file is the only one suitable for authentication but not present in the agent, the error will still be magnificent: Load key "/Users/martin/.ssh/test.pub": invalid format ... (OpenSSH_9.4p1, LibreSSL 3.3.6)
The text was updated successfully, but these errors were encountered:
A smart card public key file is deleted from the disk on card removal, while it might be beneficial to have it there at all times, to not generate a warning (
no such identity: /Users/martin/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/xxx.pub: No such file or directory
) if the file is referenced in .ssh/configIdentityFile
and the card is not currently inserted.Workaround is to copy the pubkey to a permanent location, like inside
~/.ssh
. If the key in the fixed file is the only one suitable for authentication but not present in the agent, the error will still be magnificent:Load key "/Users/martin/.ssh/test.pub": invalid format
... (OpenSSH_9.4p1, LibreSSL 3.3.6)The text was updated successfully, but these errors were encountered: