set owner of generated ssh keys
This commit is contained in:
parent
6d776eabcb
commit
4ed1972ffa
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@
|
|||
${lib.optionalString (hostKey ? openSSHFormat && hostKey.openSSHFormat) "-o"} \
|
||||
-f "${path}" \
|
||||
-N ""
|
||||
chown ${config.home.username} ${path}*
|
||||
chgrp ${config.home.username} ${path}*
|
||||
fi
|
||||
''
|
||||
}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue