You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Lance <ce...@gmail.com> on 2022/11/19 05:52:57 UTC

Apache Guacamole 1.4.0 isn't accepting my SSH key

I'm seeing this error over and and over as it attempts to connect to
the user guacamole using an SSH key generated from PEM format:

guacd[269]: INFO: Creating new client for protocol "ssh"

guacd[269]: INFO: Connection ID is "$ab3c4f60-5886-4661-ab1f-7b24c2963dba"

guacd[727]: INFO: User "@cfc54494-73a3-48f8-93bd-df594a08fb73" joined
connection "$ab3c4f60-5886-4661-ab1f-7b24c2963dba" (1 users now
present)

12:18:48.771 [http-nio-8080-exec-3] INFO
o.a.g.tunnel.TunnelRequestService - User "chown" connected to
connection "1".

guacd[727]: INFO: Auth key successfully imported.

guacd[727]: WARNING: No known host keys provided, host identity will
not be verified.

guacd[727]: ERROR: Public key authentication failed: Unable to extract
public key from private key.

guacd[727]: INFO: User "@cfc54494-73a3-48f8-93bd-df594a08fb73"
disconnected (0 users remain)

guacd[727]: INFO: Last user of connection
"$ab3c4f60-5886-4661-ab1f-7b24c2963dba" disconnected

12:18:48.896 [http-nio-8080-exec-10] INFO
o.a.g.tunnel.TunnelRequestService - User "chown" disconnected from
connection "1". Duration: 125 milliseconds

guacd[269]: INFO: Connection "$ab3c4f60-5886-4661-ab1f-7b24c2963dba" removed.

Does anyone have any ideas on what I'm doing wrong? I'm running
RockyLinux btw which uses OpenSSH 8.0 so I don't know if that has
something to do with it. Maybe it's not supported yet. I have no idea,
or maybe an option was deprecated from OpenSSH that Guacamole
requires.

I use ssh-keygen -t rsa -m PEM and copy the private key file into the
box in Guacamole then I add the public key to authorized_keys. It
works when I test it using ssh -i id_rsa user@myserver

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org