nixos/ssh: Add an example of verbatim keys

This confused someone on SO.
This commit is contained in:
Robert Hensing 2021-06-15 11:49:19 +02:00
parent 4b7c8d538e
commit 8352cc9a23

View file

@ -41,6 +41,10 @@ let
Warning: If you are using <literal>NixOps</literal> then don't use this
option since it will replace the key required for deployment via ssh.
'';
example = [
"ssh-rsa AAAAB3NzaC1yc2etc/etc/etcjwrsh8e596z6J0l7 example@host"
"ssh-ed25519 AAAAC3NzaCetcetera/etceteraJZMfk3QPfQ foo@bar"
];
};
keyFiles = mkOption {