From 30a99334c36ba95d5c607789382682845ff53551 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Thu, 10 Oct 2024 09:03:55 +0200 Subject: [PATCH] nixos/tmate-ssh-server: Fix typo, chown -> chmod --- nixos/tests/tmate-ssh-server.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/tmate-ssh-server.nix b/nixos/tests/tmate-ssh-server.nix index 9f4d7aa379ac..593663a13a4e 100644 --- a/nixos/tests/tmate-ssh-server.nix +++ b/nixos/tests/tmate-ssh-server.nix @@ -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") '';