You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Aliaksei Kisel <to...@gmail.com> on 2023/10/29 15:46:02 UTC

Ssh agent forwarding

Hello team!
I have a question related to
https://issues.apache.org/jira/browse/GUACAMOLE-1658 issue.
As I see from the ticket issue hasn’t been fixed yet. So I want to ask if
you have any hot fix or work around for it.
I would be very grateful if you could help me find a solution to the
problem.


Thanks and best regards
Aliaksei Kisel, Software Engineer

Re: Ssh agent forwarding

Posted by Nick Couchman <vn...@apache.org>.
That said, you should be seeing another issue, which I still have to
investigate...so it won't compile...

make[2]: Entering directory '/home/
cotyww.com/nick_couchman.sa/guacamole-server/src/protocols/ssh'
  CC       libguac_client_ssh_la-argv.lo
In file included from ssh.h:33,
                 from argv.c:22:
ssh_agent.h:69:5: error: unknown type name ‘ssh_key’
     ssh_key* identity;
     ^~~~~~~

-Nick

>

Re: Ssh agent forwarding

Posted by Nick Couchman <vn...@apache.org>.
Please be patient with replies on this list. I do this in my free time, and
some days I have less of that than others.

Regarding the output you sent...it looks like you have made other changes
to the code, or are using a different version of the code than the latest
available. The patch for this removes literally two lines - one is a blank
line, and the other is the include for the non-existent header file. You
should definitely not be seeing a bunch of errors about missing structure
members, mis-matched types, etc.

My suggestion would be:
* Make sure you have a version of libssh2 that supports this functionality.
The version included with CentOS8, for example - 1.9.0 - does *NOT* support
this. I believe you need 1.10.0 or later - I'm trying it with the latest
released version, 1.11.0.
* Download a clean version of the Guacamole Server source code, either
directly from the website, or from our official Github repository.
* Update ONLY the single required file - the ssh_agent.h file - removing
the line for the absent header file, ssh_key.h.

-Nick

Re: Ssh agent forwarding

Posted by Aliaksei Kisel <to...@gmail.com>.
Hi!
Can someone check my question please.


Thanks and best regards
Aliaksei Kisel, Software Engineer

пн, 30 окт. 2023 г. в 08:49, Aliaksei Kisel <to...@gmail.com>:

> Hi Nick!
> Thanks for your response!
> I've tried to remove this line from your PR, and from typedef struct
> ssh_auth_agent as well, but am currently facing another error.
> Please see stacktrace in attachment
>
>
> Thanks and best regards
> Aliaksei Kisel, Software Engineer
>
> вс, 29 окт. 2023 г. в 21:32, Nick Couchman <vn...@apache.org>:
>
>> On Sun, Oct 29, 2023 at 11:46 AM Aliaksei Kisel <to...@gmail.com>
>> wrote:
>>
>>> Hello team!
>>> I have a question related to
>>> https://issues.apache.org/jira/browse/GUACAMOLE-1658 issue.
>>> As I see from the ticket issue hasn’t been fixed yet. So I want to ask
>>> if you have any hot fix or work around for it.
>>> I would be very grateful if you could help me find a solution to the
>>> problem.
>>>
>>>
>> First of all, please do not cross-post to multiple lists, please select
>> one list and post to that one. I'm responding on the user@ list, only.
>>
>> Thanks for the reminder - this is a relatively simple fix that just
>> requires removing a couple of lines in the ssh_agent.h file. I've submitted
>> the pull request for this - not sure why I hadn't done that a long time ago.
>>
>> -Nick
>>
>

Re: Ssh agent forwarding

Posted by Aliaksei Kisel <to...@gmail.com>.
Hi Nick!
Thanks for your response!
I've tried to remove this line from your PR, and from typedef struct
ssh_auth_agent as well, but am currently facing another error.
Please see stacktrace in attachment


Thanks and best regards
Aliaksei Kisel, Software Engineer

вс, 29 окт. 2023 г. в 21:32, Nick Couchman <vn...@apache.org>:

> On Sun, Oct 29, 2023 at 11:46 AM Aliaksei Kisel <to...@gmail.com>
> wrote:
>
>> Hello team!
>> I have a question related to
>> https://issues.apache.org/jira/browse/GUACAMOLE-1658 issue.
>> As I see from the ticket issue hasn’t been fixed yet. So I want to ask if
>> you have any hot fix or work around for it.
>> I would be very grateful if you could help me find a solution to the
>> problem.
>>
>>
> First of all, please do not cross-post to multiple lists, please select
> one list and post to that one. I'm responding on the user@ list, only.
>
> Thanks for the reminder - this is a relatively simple fix that just
> requires removing a couple of lines in the ssh_agent.h file. I've submitted
> the pull request for this - not sure why I hadn't done that a long time ago.
>
> -Nick
>

Re: Ssh agent forwarding

Posted by Nick Couchman <vn...@apache.org>.
On Sun, Oct 29, 2023 at 11:46 AM Aliaksei Kisel <to...@gmail.com> wrote:

> Hello team!
> I have a question related to
> https://issues.apache.org/jira/browse/GUACAMOLE-1658 issue.
> As I see from the ticket issue hasn’t been fixed yet. So I want to ask if
> you have any hot fix or work around for it.
> I would be very grateful if you could help me find a solution to the
> problem.
>
>
First of all, please do not cross-post to multiple lists, please select one
list and post to that one. I'm responding on the user@ list, only.

Thanks for the reminder - this is a relatively simple fix that just
requires removing a couple of lines in the ssh_agent.h file. I've submitted
the pull request for this - not sure why I hadn't done that a long time ago.

-Nick