Linux OpenSSH
The following section describes how to configure OpenSSH on Rocky 9.1 - Rocky 10.1 Linux with an iShield Key 2.
shell> ssh-keygen -t ecdsa-sk
It will ask you to touch the Security Key.shell> cat id_ecdsa_sk.pub >> authorized_keys
shell> sudo systemctl restart sshd
shell> chmod 600 id_ecdsa_sk
shell> ssh-add
This may require you to touch the Security Key.ssh-add privateKey
Differently named keypairs can be used to manage multiple Security Keys. You will also have to specify the private key when using ssh if it is named differently.
shell > ssh -i privateKey username@ip