mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 13012: not sure why id_rsa has passphrase, use the new script to create ssh key, make sure there is no passphrase in the key.
status 13012: resolved fixed
This commit is contained in:
parent
6df2cd07d2
commit
4bd58bf751
@ -571,7 +571,7 @@ public class ConfigurationServerImpl implements ConfigurationServer {
|
||||
s_logger.info("Systemvm keypairs not found in database. Need to store them in the database");
|
||||
}
|
||||
//FIXME: take a global database lock here for safety.
|
||||
Script.runSimpleBashScript("if [ -f ~/.ssh/id_rsa ] ; then true ; else yes '' | ssh-keygen -t rsa -q ; fi");
|
||||
Script.runSimpleBashScript("if [ -f ~/.ssh/id_rsa ] ; then rm -f ~/.ssh/id_rsa ; fi; ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa -q");
|
||||
|
||||
byte[] arr1 = new byte[4094]; // configuration table column value size
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user