Merge pull request #27 from nix-community/ssh_permissions

This commit is contained in:
Lassulus 2022-11-10 15:23:15 +01:00 committed by GitHub
commit f83ec524bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,6 @@
if [[ -f /ssh/authorized_keys ]]; then
cp ssh/authorized_keys /mnt-root/root/.ssh/
fi
cp ssh/ssh_host_* /mnt-root/etc/ssh
install -m 400 ssh/ssh_host_* /mnt-root/etc/ssh
'';
}