Skip to content

Commit

Permalink
ssh -I needs library only
Browse files Browse the repository at this point in the history
Option `-I` to `ssh` requires specifying the shared library and not the string `PKCS11Provider`.
  • Loading branch information
jpmens authored Nov 13, 2024
1 parent 9e79969 commit 1b42afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/components/nethsm/ssh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ You can use NetHSM for SSH authentication. You need to pass the PKCS#11 module p
.. tab:: Command line
.. code-block:: bash
ssh -I PKCS11Provider=/usr/lib/x86_64-linux-gnu/pkcs11/libnethsm_pkcs11.so user@host
ssh -I /usr/lib/x86_64-linux-gnu/pkcs11/libnethsm_pkcs11.so user@host
.. tab:: SSH config
.. code-block::
Expand All @@ -30,4 +30,4 @@ To list the keys of a NetHSM in a SSH ``authorized_keys`` format, use the follow

.. code-block:: bash
ssh-keygen -D /usr/lib/x86_64-linux-gnu/pkcs11/libnethsm_pkcs11.so -e
ssh-keygen -D /usr/lib/x86_64-linux-gnu/pkcs11/libnethsm_pkcs11.so -e

0 comments on commit 1b42afd

Please sign in to comment.