Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10213

Allow specify SSH key lengh

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: 4.11.0.0
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:

      Description

      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:

          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;
              ....
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Demonsh Dmytro Shevchenko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: