doc/mod/ssh-keys-import: create code block with indention

This commit is contained in:
Christian Hesse 2025-11-18 16:50:09 +01:00
parent 335266f247
commit 677b5b8069

View file

@ -51,12 +51,10 @@ The functions `$SSHKeysImportFile` can read an `authorized_keys`-style file
and import all the keys. The user given to the function can be overwritting and import all the keys. The user given to the function can be overwritting
from comments in the file. Create a file `keys.pub` with this content: from comments in the file. Create a file `keys.pub` with this content:
```
ssh-ed25519 AAAAC3Nza...3OcN8A user@client ssh-ed25519 AAAAC3Nza...3OcN8A user@client
ssh-rsa AAAAB3Nza...ozyts= worker@station ssh-rsa AAAAB3Nza...ozyts= worker@station
# user=example # user=example
ssh-rsa AAAAB3Nza...GXQVk= person@host ssh-rsa AAAAB3Nza...GXQVk= person@host
```
Then import it with: Then import it with: