You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Suncatcher16 <su...@outlook.com> on 2017/07/17 16:57:25 UTC

SSH connection error segfault

Hi,
I cannot connect to SSH-server via Guacamole. Into the private key I pasted
contents of rsa.ppk file:

> PuTTY-User-Key-File-2: ssh-rsa
> Encryption: none
> Comment: rsa-key-20170717
> Public-Lines: 6
> XXXXXXXXXXXXXXXXsomethingXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> Fjozvtf777FXAxTD5PbrgFzp0ZQuSDhSry/sfDoPBZl8vUAHAw==
> Private-Lines: 14
> XXXXXXXXXXXXXXXXXsomethingXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> uYiEj1pQio25Gahd7dV2iyKhPh93bkOldIndUJlcZAQXVPs=
> Private-MAC: 63e796fe8d6b20e53410ca1a5f31dc451bce886f

Public key: ssh-rsa
AAAAB3XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Connection via Putty *goes fine*. In the guacd log I got this:

> guacd[2467]: Creating new client for protocol "ssh"
> guacd[2467]: Connection ID is "$1a827d8d-c47f-4934-8ad4-368db571be7b"
> guacd[6073]: User "@17983e5f-c82a-4ccb-9c27-25af873a27c3" joined
> connection "$1a827d8d-c47f-4934-8ad4-368db571be7b" (1 users now present)
> guacd[6073]: Auth key import failed: (null)
> guacd[6073]: User "@17983e5f-c82a-4ccb-9c27-25af873a27c3" disconnected (0
> users remain)
> guacd[6073]: Last user of connection
> "$1a827d8d-c47f-4934-8ad4-368db571be7b" disconnected
*
> kernel: [256069.149041] guacd[6078]: segfault at 0 ip 00007fd158636afd sp
> 00007fd153ffc790 error 4 in
> libguac-client-ssh.so.0.0.0[7fd158627000+1c000]
*
> guacd[2467]: Connection "$1a827d8d-c47f-4934-8ad4-368db571be7b" removed.





--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/SSH-connection-error-segfault-tp1318.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: SSH connection error segfault

Posted by Suncatcher16 <su...@outlook.com>.
Mike Jumper wrote
> 0.9.13 is not out yet, correct, however the issue you describe should
> be fixed on git. If you're willing to deploy a build from recent git,
> that would help determine whether you are encountering something new.
> - Mike

But the issue is gone after I converted the private key, so I assume it was
related to key format. Now I don't see any segfaults.




--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/SSH-connection-error-segfault-tp1318p1326.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: SSH connection error segfault

Posted by Mike Jumper <mi...@guac-dev.org>.
On Mon, Jul 17, 2017 at 10:52 AM, Suncatcher16 <su...@outlook.com> wrote:
>
>> Can you confirm which version of Guacamole you are using?
>
> 0.9.12. AFAIK, 0.9.13 version is still in beta state.
>

0.9.13 is not out yet, correct, however the issue you describe should
be fixed on git. If you're willing to deploy a build from recent git,
that would help determine whether you are encountering something new.

- Mike

Re: SSH connection error segfault

Posted by Suncatcher16 <su...@outlook.com>.
> Can you confirm which version of Guacamole you are using?

0.9.12. AFAIK, 0.9.13 version is still in beta state.


> You will need to convert the PPK file into standard PEM format. Only PuTTY
> can read its PPKs.

Correct, that helped. Thanks for the clarification.
BTW, could you please say smth about  this SSH error
<http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Cannot-connect-to-SSH-XMT-Solicit-on-eth0-td1315.html> 
? It's really interesting.





--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/SSH-connection-error-segfault-tp1318p1320.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: SSH connection error segfault

Posted by Mike Jumper <mi...@guac-dev.org>.
On Mon, Jul 17, 2017 at 9:57 AM, Suncatcher16 <su...@outlook.com>
wrote:

> Hi,
> I cannot connect to SSH-server via Guacamole. Into the private key I pasted
> contents of rsa.ppk file:
>
>
You will need to convert the PPK file into standard PEM format. Only PuTTY
can read its PPKs.

> "$1a827d8d-c47f-4934-8ad4-368db571be7b" disconnected
> *
> > kernel: [256069.149041] guacd[6078]: segfault at 0 ip 00007fd158636afd sp
> > 00007fd153ffc790 error 4 in
> > libguac-client-ssh.so.0.0.0[7fd158627000+1c000]
>
>
There was a recent issue which was fixed that would result in a segfault
upon disconnect for SSH connections:

https://issues.apache.org/jira/browse/GUACAMOLE-257

Can you confirm which version of Guacamole you are using?

- Mike