On Thu, Jan 14, 2021 at 8:44 AM Volker Katz <[email protected]> wrote:

> Hi,
>
> I'm quite new to Guacamoleand VNC. I've Guacamole 1.3.0 and TigerVNC up
> and running on Ubuntu 20.04 - everything is running on the same machine.
> Now, I've some trouble getting file transfer working with public keys.
> It works using sftp-password, but not using sftp-private-key (neither
> with sftp-passphrase nor without).
>
> I get these error-messages:
> guacd[4134]: DEBUG:#011Connecting via SSH for SFTP filesystem access.
> guacd[4134]: guacd[4134]: DEBUG:#011Authenticating with private key.
> guacd[4134]: guacd[4134]: ERROR:#011Private key unreadable.
> guacd[4134]: Authenticating with private key.
> guacd[4134]: Private key unreadable.
>
>
The most likely explanation is that your private key is in the wrong
format. Newer versions of ssh-keygen use a slightly different header on the
key that guacd currently does not recognize ("BEGIN OPENSSH KEY" instead of
"BEGIN RSA KEY"). There's a JIRA issue out there to try to improve SSH key
handling, but, for the time being, you'd need to make sure your key is in
Base64 RSA format, with the correct header.

-Nick

Reply via email to