Commit 03b805ef authored by Russ Fish's avatar Russ Fish

Fix privs on private key to avoid derailment.

parent 33cbfa6f
......@@ -978,6 +978,7 @@ Phase "ssh", "Setting up root ssh from boss to ops", sub {
if (! ExecQuiet("$SSH -o 'BatchMode=yes' root\@${USERNODE} pwd")) {
PhaseSkip("Key already copied");
} else {
ExecQuietFatal("chmod 400 $INIT_PRIVKEY");
ExecQuietFatal("$SCP_INIT -i $INIT_PRIVKEY ".
"$ROOT_PUBKEY ${USERNODE}:$ROOT_AUTHKEY");
......
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