You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2022/01/19 20:04:00 UTC
[jira] [Commented] (GUACAMOLE-1504) SSH public key authentication fails with "Unable to extract public key from private key"
[ https://issues.apache.org/jira/browse/GUACAMOLE-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478942#comment-17478942 ]
Mike Jumper commented on GUACAMOLE-1504:
----------------------------------------
This looks like a bug in the version of libssh2 installed. Testing against the packages provided by Ubuntu 20.04 (libssh2 1.8.0), I see the above error. Testing against a manual build of libssh2 1.10.0, things work great.
> SSH public key authentication fails with "Unable to extract public key from private key"
> ----------------------------------------------------------------------------------------
>
> Key: GUACAMOLE-1504
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1504
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-server
> Affects Versions: 1.5.0
> Environment: docker with last github version
> Reporter: PRAT
> Assignee: Mike Jumper
> Priority: Major
>
> Hi,
>
> I tried guacd with last commit at (GUACAMOLE-745) and my ssh connexions don't work anymore.
>
> I have error:
> -----
> guacd[5107]: INFO: Auth key successfully imported.
> guacd[5107]: ERROR: Public key authentication failed: Unable to extract public key from private key.
> -----
>
> I tried to convert ssh private key (RSA) to format OPENSSH ("BEGIN OPENSSH PRIVATE KEY"), but same result/error.
>
> Thanks for your help.
> Lionel
--
This message was sent by Atlassian Jira
(v8.20.1#820001)