Commit 294c27db authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Unlink old identity file in force mode to avoid silly ssh-keygen y/n.

parent 7d9337a6
......@@ -356,6 +356,9 @@ sub InitUser()
if (! -f "$sshdir/identity" || $force) {
print "Setting up ssh configuration for $user.\n";
if (-f "$sshdir/identity");
# Hmm, need to use -C option so comment field makes sense.
if (system("$KEYGEN -t rsa1 -P '' ".
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