From 29236122d18a8fa046b14aa894f81303665ffa37 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Wed, 28 May 2014 16:29:30 +1000 Subject: [PATCH] Don't ask user to enter passphrase If they want one, they can use the --sshkey= param to use their own --- cmds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds.go b/cmds.go index e8802f1..db0ec41 100644 --- a/cmds.go +++ b/cmds.go @@ -51,7 +51,7 @@ func cmdInit() int { logf("Something wrong with SSH Key file %q: %s", B2D.SSHKey, err) return 1 } - if err := cmd(B2D.SSHGen, "-t", "rsa", "-f", B2D.SSHKey); err != nil { + if err := cmd(B2D.SSHGen, "-t", "rsa", "-N", "", "-f", B2D.SSHKey); err != nil { logf("Error generating new SSH Key into %s: %s", B2D.SSHKey, err) return 1 }