nixos/tmate-ssh-server: Fix typo, chown -> chmod
This commit is contained in:
parent
89abe3c610
commit
30a99334c3
@ -6,9 +6,9 @@ let
|
|||||||
setUpPrivateKey = name: ''
|
setUpPrivateKey = name: ''
|
||||||
${name}.succeed(
|
${name}.succeed(
|
||||||
"mkdir -p /root/.ssh",
|
"mkdir -p /root/.ssh",
|
||||||
"chown 700 /root/.ssh",
|
"chmod 700 /root/.ssh",
|
||||||
"cat '${snakeOilPrivateKey}' > /root/.ssh/id_snakeoil",
|
"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")
|
${name}.wait_for_file("/root/.ssh/id_snakeoil")
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user