Table of Contents |
---|
Abstract
There are two different things needed to setup the certificate authentification.
...
Code Block | ||
---|---|---|
| ||
mkdir -p $SSH_CERTIFICATES cp *cert.pub $SSH_CERTIFICATES |
Step 2 - edit the config file
Add the following lines to $SSH_CONFIG
. $SSH_CERTIFICATES
must be replaced with the correct path to the folder.
...
Code Block | ||
---|---|---|
| ||
Host *.netdef.org CertificateFile `$SSH_CERTIFICATES`/helloworld-1234567890-1-cert.pub CertificateFile `$SSH_CERTIFICATES`/helloworld-1234567890-2-cert.pub ... CertificateFile `$SSH_CERTIFICATES`/helloworld-1234567890-N-cert.pub |
Step 3 - edit known hosts file.
Add the following line to $SSH_KNOWNHOSTS
where yubikeyX.pub
must be replaced with the public key stored in yubikeyX.pub.
...