Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-745

Add support for OpenSSH private key format

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: guacd, SSH
    • Labels:
      None
    • Environment:
      Docker official images 1.0.0

      Description

      Since OpenSSH 7.8, ssh-keygen does not generate keys in PEM format by default anymore: https://www.openssh.com/txt/release-7.8

      Attempting to use keys in the new format in Guacamole does not work, and does not print any helpful error message even in debug mode:

      guacd_1      | guacd[296]: DEBUG:        Attempting private key import (WITHOUT passphrase)
      guacd_1      | guacd[296]: DEBUG:        Initial import failed: (null)
      guacd_1      | guacd[296]: DEBUG:        Re-attempting private key import (WITH passphrase)
      guacd_1      | guacd[296]: ERROR:        Auth key import failed: (null)

      It would be nice if keys in OpenSSH new format were supported. At least a more helpful error message should be printed (like "unrecognized key format").

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nicoulaj Julien Nicoulaud
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: