...
Code Block | ||
---|---|---|
| ||
SSH_CERTIFICATES=$HOME/.ssh/netdef SSH_CONFIG=$HOME/.ssh/config SSH_KNOWNHOSTS=$HOME/.ssh/known_hosts |
global
...
Code Block | ||
---|---|---|
| ||
SSH_CERTIFICATES=/etc/ssh/netdef SSH_CONFIG=/etc/ssh/ssh_config SSH_KNOWNHOSTS=/etc/ssh/ssh_known_hosts |
...
Copy all certificates that can be found in the provided tar file to the folder '$SSH_CERTIFICATES
'
.
Code Block | ||
---|---|---|
| ||
mkdir -p $SSH_CERTIFICATES cp *cert.pub $SSH_CERTIFICATES |
...
Add the following lines to
. The name of the certificate as well as '
$SSH_CONFIG'
'
$SSH_CERTIFICATES'
must be replaced with the correct file name and the correct path to the folder respectively.
...
Add the following line to '
$SSH_KNOWNHOSTS
where '
must be replaced with the public key stored in '
yubikeyX.pub'
'yubikeyX.pub'
.
Code Block | ||
---|---|---|
| ||
@cert-authority *.netdef.org `yubikeyX.pub` |
...