InitSshd: Use correct flag to set empty passphrase

From https://www.ssh.com/ssh/keygen/:
  -N "New" Provides a new passphrase for the key.
  -P "Passphrase" Provides the (old) passphrase when reading a key.

PiperOrigin-RevId: 210948400
Change-Id: Iba3a674f81686987fef60f0fd5a5f42aa5b9dd86
This commit is contained in:
Gerrit Code Review
2018-08-30 11:31:35 -07:00
committed by Dave Borowitz
parent 23afe62e2b
commit 00d6bca8d0

View File

@@ -103,7 +103,7 @@ public class InitSshd implements InitStep {
"-q" /* quiet */,
"-t",
"rsa",
"-P",
"-N",
emptyPassphraseArg,
"-C",
comment,