nixos/tmate-ssh-server: Fix typo, chown -> chmod

This commit is contained in:
r-vdp 2024-10-10 09:03:55 +02:00
parent 89abe3c610
commit 30a99334c3
No known key found for this signature in database

View File

@ -6,9 +6,9 @@ let
setUpPrivateKey = name: ''
${name}.succeed(
"mkdir -p /root/.ssh",
"chown 700 /root/.ssh",
"chmod 700 /root/.ssh",
"cat '${snakeOilPrivateKey}' > /root/.ssh/id_snakeoil",
"chown 600 /root/.ssh/id_snakeoil",
"chmod 600 /root/.ssh/id_snakeoil",
)
${name}.wait_for_file("/root/.ssh/id_snakeoil")
'';