Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit dcc7e4f

Browse files
Sven DowideitSven Dowideit
authored andcommitted
Merge pull request #132 from SvenDowideit/dont-prompt-for-passphrase
Don't ask user to enter passphrase
2 parents 46b348c + 2923612 commit dcc7e4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmds.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func cmdInit() int {
5151
logf("Something wrong with SSH Key file %q: %s", B2D.SSHKey, err)
5252
return 1
5353
}
54-
if err := cmd(B2D.SSHGen, "-t", "rsa", "-f", B2D.SSHKey); err != nil {
54+
if err := cmd(B2D.SSHGen, "-t", "rsa", "-N", "", "-f", B2D.SSHKey); err != nil {
5555
logf("Error generating new SSH Key into %s: %s", B2D.SSHKey, err)
5656
return 1
5757
}

0 commit comments

Comments
 (0)