You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Chris Lee <ch...@centurycity.com.hk> on 2020/04/21 06:45:54 UTC

SSH Config issue

Hi All,

I try setup SSH Protocol to access Fedora Linux Server

I success use PuTTY to SSH by Private Key and already change the key format to OpenSSH format

[cid:image002.png@01D617EB.8EDD27A0]


[cid:image001.png@01D617EB.19721A70]

After input the Passphrase, it should following error prompt:

[cid:image003.png@01D617EB.8EDD27A0]

And got following error message on log file:

Apr 21 14:25:38 guacd[2169915]: Auth key import failed: (null)
Apr 21 14:25:38 guacd[313914]: guacd[2169915]: ERROR:#011Auth key import failed: (null)

Is there something I config wrong? Please kindly advise.

Regards,
Chris



This message and its attachment (if any) are strictly confidential and sent to the designated recipient(s) only. If you are not the intended recipient, please notify the sender by e-mail and delete this message and its attachment (if any) from your computer system immediately . Century City International Holdings Limited, Paliburg Holdings Limited, Regal Hotels International Holdings Limited, its respective related subsidiaries, associated companies and affiliates do not guarantee this message and its attachment (if any) are free of computer virus and would not accept any liability whatsoever arising from Internet transmission.

Re: SSH Config issue

Posted by Nick Couchman <vn...@apache.org>.
Thanks for posting your solution, Chris!

On Tue, Apr 21, 2020 at 10:26 PM Chris Lee <ch...@centurycity.com.hk>
wrote:

> Hi Nick,
>
>
>
> Thanks for your reply.
>
>
>
> I can now success SSH by changing the Private Key Format:
>
>
>
> Here is workflow
>
>
>
> *How to convert PuTTY private key to an RSA private key format*
>
>
>
>    - Run PuTTY Key Generator and load the existing PuTTY private key
>    - Select Export OpenSSH Key from Conversions menu
>
>    - The export key file should have text “BEGIN OPENSSH PRIVATE KEY"
>
>
>    - I copy the file to Linux and run following command
>
>    ssh-keygen -p -m PEM -f
>
> *openssh.key *
>
> - Now the file conveted to RSA Private Key format:
>
>
>    - Finally copy it to Private Key box
>
>
>
> Hope it can help others.
>
>
>
> Regards,
>
> Chris
>
>
>
>
>
> *From:* Nick Couchman <vn...@apache.org>
> *Sent:* Tuesday, April 21, 2020 8:25 PM
> *To:* user@guacamole.apache.org
> *Subject:* Re: SSH Config issue
>
>
>
> On Tue, Apr 21, 2020 at 2:46 AM Chris Lee <ch...@centurycity.com.hk>
> wrote:
>
> Hi All,
>
>
>
> I try setup SSH Protocol to access Fedora Linux Server
>
>
>
> I success use PuTTY to SSH by Private Key and already change the key
> format to OpenSSH format
>
>
>
>
>
>
>
>
>
> Currently the only key format supported by Guacamole for private keys is
> the RSA format, so the key will need to be in that format.  I believe
> there's a JIRA issue created, already, to support OpenSSH, and there may
> even be one to support DSA and/or EC-DSA keys.
>
>
>
> -Nick
>
>
> This message and its attachment (if any) are strictly confidential and
> sent to the designated recipient(s) only. If you are not the intended
> recipient, please notify the sender by e-mail and delete this message and
> its attachment (if any) from your computer system immediately . Century
> City International Holdings Limited, Paliburg Holdings Limited, Regal
> Hotels International Holdings Limited, its respective related subsidiaries,
> associated companies and affiliates do not guarantee this message and its
> attachment (if any) are free of computer virus and would not accept any
> liability whatsoever arising from Internet transmission.
>

RE: SSH Config issue

Posted by Chris Lee <ch...@centurycity.com.hk>.
Hi Nick,

Thanks for your reply.

I can now success SSH by changing the Private Key Format:

Here is workflow

How to convert PuTTY private key to an RSA private key format


  *   Run PuTTY Key Generator and load the existing PuTTY private key
  *   Select Export OpenSSH Key from Conversions menu

[cid:image008.jpg@01D61890.7B4F9A60]
  *   The export key file should have text “BEGIN OPENSSH PRIVATE KEY"
[cid:image009.jpg@01D61890.7B4F9A60]

  *   I copy the file to Linux and run following command

ssh-keygen -p -m PEM -f  openssh.key

[cid:image010.jpg@01D61890.7B4F9A60]

  *   Now the file conveted to RSA Private Key format:
[cid:image011.jpg@01D61890.7B4F9A60]

  *   Finally copy it to Private Key box
[cid:image012.jpg@01D61890.7B4F9A60]

Hope it can help others.

Regards,
Chris


From: Nick Couchman <vn...@apache.org>
Sent: Tuesday, April 21, 2020 8:25 PM
To: user@guacamole.apache.org
Subject: Re: SSH Config issue

On Tue, Apr 21, 2020 at 2:46 AM Chris Lee <ch...@centurycity.com.hk>> wrote:
Hi All,

I try setup SSH Protocol to access Fedora Linux Server

I success use PuTTY to SSH by Private Key and already change the key format to OpenSSH format

[cid:image001.png@01D6188E.BDF21570]


[cid:image002.png@01D6188E.BDF21570]

Currently the only key format supported by Guacamole for private keys is the RSA format, so the key will need to be in that format.  I believe there's a JIRA issue created, already, to support OpenSSH, and there may even be one to support DSA and/or EC-DSA keys.

-Nick


This message and its attachment (if any) are strictly confidential and sent to the designated recipient(s) only. If you are not the intended recipient, please notify the sender by e-mail and delete this message and its attachment (if any) from your computer system immediately . Century City International Holdings Limited, Paliburg Holdings Limited, Regal Hotels International Holdings Limited, its respective related subsidiaries, associated companies and affiliates do not guarantee this message and its attachment (if any) are free of computer virus and would not accept any liability whatsoever arising from Internet transmission.

Re: SSH Config issue

Posted by Nick Couchman <vn...@apache.org>.
On Tue, Apr 21, 2020 at 2:46 AM Chris Lee <ch...@centurycity.com.hk>
wrote:

> Hi All,
>
>
>
> I try setup SSH Protocol to access Fedora Linux Server
>
>
>
> I success use PuTTY to SSH by Private Key and already change the key
> format to OpenSSH format
>
>
>
>
>
>
>
>
Currently the only key format supported by Guacamole for private keys is
the RSA format, so the key will need to be in that format.  I believe
there's a JIRA issue created, already, to support OpenSSH, and there may
even be one to support DSA and/or EC-DSA keys.

-Nick

>