services.openssh.knownHosts.*.publicKey: Update description and add example
Note that it's no longer allowed to have multiple public keys separated by a newline.
This commit is contained in:
parent
a4788bdddf
commit
7b38cb699d
@ -244,13 +244,12 @@ in
|
|||||||
publicKey = mkOption {
|
publicKey = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
|
example = "ecdsa-sha2-nistp521 AAAAE2VjZHN...UEPg==";
|
||||||
description = ''
|
description = ''
|
||||||
The public key data for the host. You can fetch a public key
|
The public key data for the host. You can fetch a public key
|
||||||
from a running SSH server with the <command>ssh-keyscan</command>
|
from a running SSH server with the <command>ssh-keyscan</command>
|
||||||
command. The public key should not include any host names, only
|
command. The public key should not include any host names, only
|
||||||
the key type and the key itself. It is allowed to add several
|
the key type and the key itself.
|
||||||
lines here, each line will be treated as type/key pair and the
|
|
||||||
host names will be prepended to each line.
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
publicKeyFile = mkOption {
|
publicKeyFile = mkOption {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user