You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Michael Muenz (Jira)" <ji...@apache.org> on 2022/04/20 21:25: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=17525302#comment-17525302 ] 

Michael Muenz commented on GUACAMOLE-1504:
------------------------------------------

Hi,

I'm using Guacamole quite extensively but since OPNsense updated OpenSSH to 8.X it's not possible anymore to login with they OpenSSH key format like described above and in older issue. 

It's installed on a FreeBSD and the libssh2 version seems to be fine:

libssh2-1.10.0,3
Name           : libssh2
Version        : 1.10.0,3
Installed on   : Fri Jan  7 18:39:09 2022 CET
Origin         : security/libssh2
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : security devel
Licenses       : BSD3CLAUSE
Maintainer     : sbz@FreeBSD.org
WWW            : https://www.libssh2.org/
Comment        : Library implementing the SSH2 protocol
Options        :
        GCRYPT         : off
        TRACE          : off
        ZLIB           : on
Shared Libs provided:
        libssh2.so.1
Annotations    :
        FreeBSD_version: 1300139
        cpe            : cpe:2.3:a:libssh2:libssh2:1.10.0:::::freebsd13:x64
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 811KiB

Via CLI I'm able to login with the ED key but not via guacamole.

Not sure how to go on with debugging here. Any help welcome :)

> 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.7#820007)