diff options
Diffstat (limited to 'nixos/doc/manual/configuration/ssh.xml')
-rw-r--r-- | nixos/doc/manual/configuration/ssh.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/doc/manual/configuration/ssh.xml b/nixos/doc/manual/configuration/ssh.xml index 7c928baaf89..7dbe598cffe 100644 --- a/nixos/doc/manual/configuration/ssh.xml +++ b/nixos/doc/manual/configuration/ssh.xml @@ -10,12 +10,12 @@ setting: <programlisting> -services.openssh.enable = true; +<xref linkend="opt-services.openssh.enable"/> = true; </programlisting> By default, root logins using a password are disallowed. They can be disabled entirely by setting -<literal>services.openssh.permitRootLogin</literal> to +<xref linkend="opt-services.openssh.permitRootLogin"/> to <literal>"no"</literal>.</para> <para>You can declaratively specify authorised RSA/DSA public keys for @@ -23,7 +23,7 @@ a user as follows: <!-- FIXME: this might not work if the user is unmanaged. --> <programlisting> -users.extraUsers.alice.openssh.authorizedKeys.keys = +<link linkend="opt-users.users._name__.openssh.authorizedKeys.keys">users.extraUsers.alice.openssh.authorizedKeys.keys</link> = [ "ssh-dss AAAAB3NzaC1kc3MAAACBAPIkGWVEt4..." ]; </programlisting> |