doc: remove mention of key type

This commit is contained in:
zimward 2024-08-24 21:59:22 +02:00
parent 96ab19d228
commit 81a9bf5861
No known key found for this signature in database
GPG key ID: 4CAC61D6A482FCD9

View file

@ -12,12 +12,12 @@ By default, root logins using a password are disallowed. They can be
disabled entirely by setting disabled entirely by setting
[](#opt-services.openssh.settings.PermitRootLogin) to `"no"`. [](#opt-services.openssh.settings.PermitRootLogin) to `"no"`.
You can declaratively specify authorised RSA/DSA public keys for a user You can declaratively specify authorised public keys for a user
as follows: as follows:
```nix ```nix
{ {
users.users.alice.openssh.authorizedKeys.keys = users.users.alice.openssh.authorizedKeys.keys =
[ "ssh-dss AAAAB3NzaC1kc3MAAACBAPIkGWVEt4..." ]; [ "ssh-ed25519 AAAAB3NzaC1kc3MAAACBAPIkGWVEt4..." ];
} }
``` ```