You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Callum Morrison <ca...@mac.com> on 2019/01/16 19:48:55 UTC

[Help] Public key authentication failed

Hi All,

I've recently set up Guacamole 1.0.0 on Ubuntu Server. I've got RDP working
but I'm having trouble connecting to my SSH server (running on the same
machine).

My user-mapping.xml file looks like this:

...
 <connection name="Eucalyptus">
                        <protocol>ssh</protocol>
                        <param name="hostname">localhost</param>
                        <param name="port">221</param>
                        <param name="username">callum</param>
                        <param name="private-key">-----BEGIN RSA PRIVATE
KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,F632976EDF6827B4

vCKB/Qlpj8...
...mHDqWBNu9ZH5i7YnCVvjA==
-----END RSA PRIVATE KEY-----
</param>
                </connection>
...

I can connect, I'm presented with a "Key passphrase:" prompt. When I enter
the passphrase I immediately disconnect and the error in syslog says

Public key authentication failed: Invalid signature for supplied public
key, or bad username/public key combination

My key was originally generated by PuTTY and I'm using PuTTY Key Generator
to convert the private key to OpenSSH format.

I'm not too sure what else to try. Any ideas?

Thanks
Callum