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 David Pursehouse
parent e898aeded6
commit 625965f800
1 changed files with 1 additions and 1 deletions

View File

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