We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f362738 + e86363b commit 240db19Copy full SHA for 240db19
1 file changed
server/src/main/java/com/cloud/server/ConfigurationServerImpl.java
@@ -617,7 +617,7 @@ public void updateKeyPairs() {
617
// FIXME: take a global database lock here for safety.
618
boolean onWindows = isOnWindows();
619
if(!onWindows) {
620
- 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");
+ 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");
621
}
622
623
final String privateKey;
0 commit comments