diff --git a/doc/manual/command-ref/nix-store.xml b/doc/manual/command-ref/nix-store.xml index 22afdec93..58a331179 100644 --- a/doc/manual/command-ref/nix-store.xml +++ b/doc/manual/command-ref/nix-store.xml @@ -291,9 +291,10 @@ as a means of providing Nix store access to a restricted ssh user. access to a given SSH public key: -$ cat <>/root/.ssh/authorized_keys +$ cat <<EOF >>/root/.ssh/authorized_keys command="nice -n20 nix-store --serve --write" ssh-rsa AAAAB3NzaC1yc2EAAAA... -EOF +EOF +