[ https://issues.apache.org/jira/browse/CLOUDSTACK-10213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313388#comment-16313388 ]
ASF GitHub Bot commented on CLOUDSTACK-10213: --------------------------------------------- rhtyd commented on a change in pull request #2389: CLOUDSTACK-10213: Allow specify SSH key lengh URL: https://github.com/apache/cloudstack/pull/2389#discussion_r159916996 ########## File path: server/src/com/cloud/configuration/Config.java ########## @@ -1027,6 +1027,14 @@ "5", "Incorrect login attempts allowed before the user is disabled", null), + SSHKeyLength( Review comment: Please remove from here, this is deprecated. The use of ConfigKey is alright. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Allow specify SSH key lengh > --------------------------- > > Key: CLOUDSTACK-10213 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10213 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Dmytro Shevchenko > > SSH keys generated by the ACS are only 1024 bit (RSA). The common standard is > now at least 2048 bit. > decompiled com.jcraft.jsch.KeyPair: > {code:java} > public static KeyPair genKeyPair(JSch jsch, int type) throws > JSchException { > return genKeyPair(jsch, type, 1024); > } > public static KeyPair genKeyPair(JSch jsch, int type, int key_size) > throws JSchException { > KeyPair kpair = null; > .... > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)