Commit 269248b1 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Christos Stavrakakis
Browse files

0600 mode for ssh keys


Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 0c07a42a
......@@ -245,7 +245,7 @@ done
tmpl = "/root/.ssh/" + f
replace = {}
custom = customize_settings_from_tmpl(tmpl, replace)
put(custom, tmpl)
put(custom, tmpl, mode=0600)
cmd = """
if [ -e /root/.ssh/authorized_keys.bak ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment