[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478885#comment-17478885
 ] 

Mike Jumper commented on GUACAMOLE-1504:
----------------------------------------

I am seeing this as well (RSA key):

{code:none}
...
guacd[1059157]: DEBUG:  Attempting private key import (WITHOUT passphrase)
guacd[1059157]: INFO:   Auth key successfully imported.
guacd[1059157]: DEBUG:  Successfully connected to host 10.10.209.13, port 22
...
guacd[1059157]: ERROR:  Public key authentication failed: Unable to extract 
public key from private key.
guacd[1059157]: INFO:   User "@a7c509c1-d1d2-4fba-9341-b8a3378e93cc" 
disconnected (0 users remain)
...
{code}

The ultimate "Unable to extract ..." error is actually coming from libssh2, 
though it's unclear why libssh2 is failing to fully handle the key.

> Commit GUACAMOLE-745 break ssh connexion with private cert
> ----------------------------------------------------------
>
>                 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)

Reply via email to