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

Allow specify SSH key lengh

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • 4.11.0.0
    • None
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)

    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

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

              Dates

                Created:
                Updated:
                Resolved: