File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
server/src/main/java/com/cloud/server Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -619,7 +619,7 @@ public void updateKeyPairs() {
619619 // FIXME: take a global database lock here for safety.
620620 boolean onWindows = isOnWindows ();
621621 if (!onWindows ) {
622- Script .runSimpleBashScript ("if [ -f " + privkeyfile + " ]; then rm -f " + privkeyfile + "; fi; ssh-keygen -t ed25519 -m PEM -N '' -f " + privkeyfile + " -q 2>/dev/null || ssh-keygen -t ed25519 -N '' -f " + privkeyfile + " -q" );
622+ Script .runSimpleBashScript ("if [ -f " + privkeyfile + " ]; then rm -f " + privkeyfile + "; fi; ssh-keygen -t ecdsa -m PEM -N '' -f " + privkeyfile + " -q 2>/dev/null || ssh-keygen -t ecdsa -N '' -f " + privkeyfile + " -q" );
623623 }
624624
625625 final String privateKey ;
You can’t perform that action at this time.
0 commit comments