mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
doc: remove mention of key type
This commit is contained in:
parent
96ab19d228
commit
81a9bf5861
|
@ -12,12 +12,12 @@ By default, root logins using a password are disallowed. They can be
|
|||
disabled entirely by setting
|
||||
[](#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:
|
||||
|
||||
```nix
|
||||
{
|
||||
users.users.alice.openssh.authorizedKeys.keys =
|
||||
[ "ssh-dss AAAAB3NzaC1kc3MAAACBAPIkGWVEt4..." ];
|
||||
[ "ssh-ed25519 AAAAB3NzaC1kc3MAAACBAPIkGWVEt4..." ];
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue