Hi Jonathan Thank you for your help, I did not know about cisco router term type limitations I will try to find how to set up term type in guacamole .
Thanks! Amartya Thorat On Tue, Apr 5, 2022 at 9:07 PM Hankins, Jonathan < [email protected]> wrote: > Doubt this is helpful, but I looked at your Cisco-Device-Log file where it > complains about various term types. What happens if you set the term type > to vt100 in the guacamole connection settings? > > > https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-0/system-security/configuration/guide/b-system-security-cg-asr9000-70x/b-system-security-cg-asr9000-70x_chapter_01001.html > > Use of a terminal type other than vt100 is unsupported, and the software >> generates a warning message in this case. > > > On Fri, Apr 1, 2022 at 1:34 AM Amartya Thorat < > [email protected]> wrote: > >> Hi All >> I am facing same issue for CISCO-IOS XR DEVICE >> Can we get more help on this >> >> Attaching device ssh logs >> >> >> Thanks ! >> Amartya Thorat >> >> >> On 2021/04/06 13:08:32 Yaroslav Nikonorov wrote: >> > Hi There, >> > When connect to Cisco-IOS-XRv-9000 by ssh guacd failed with "Unable to >> > allocate PTY" error. >> > As it is critical for us, I played around and found that guacd failed >> on PTY >> > request "libssh2_channel_request_pty()". >> > After some debugging on guacd and libssh2 I found that request is sent >> > successfully, but it failed on receiving specific packet type. >> > I created the below patch for guacd, added warning instead of >> > "guac_client_abort()" and it worked. >> > >> > Currently we are using custom builds, but it would be great to add the >> fix >> > to the code base to avoid such cases. >> > Can you help me with the solution? >> > Thanks. >> > >> > >> > From d5c0e7aa4c38db04d0bf7adb817ca9f392c7f619 Mon Sep 17 00:00:00 2001 >> > From: Yaroslav <[email protected]> >> > Date: Fri, 2 Apr 2021 07:05:20 +0000 >> > Subject: [PATCH] Continue execution if PTY request failed >> > >> > --- >> > src/protocols/ssh/ssh.c | 3 +-- >> > 1 file changed, 1 insertion(+), 2 deletions(-) >> > >> > diff --git a/src/protocols/ssh/ssh.c b/src/protocols/ssh/ssh.c >> > index 81fb0855..e7f9eeb0 100644 >> > --- a/src/protocols/ssh/ssh.c >> > +++ b/src/protocols/ssh/ssh.c >> > @@ -368,8 +368,7 @@ void* ssh_client_thread(void* data) { >> > settings->terminal_type, strlen(settings->terminal_type), >> > ssh_ttymodes, ttymodeBytes, ssh_client->term->term_width, >> > ssh_client->term->term_height, 0, 0)) { >> > - guac_client_abort(client, GUAC_PROTOCOL_STATUS_UPSTREAM_ERROR, >> > "Unable to allocate PTY."); >> > - return NULL; >> > + guac_client_log(client, GUAC_LOG_WARNING, "Unable to allocate >> > PTY."); >> > } >> > >> > /* Forward specified locale */ >> > -- >> > 2.20.1 >> > >> > >> > >> > -- >> > Sent from: >> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/ >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [email protected] >> > For additional commands, e-mail: [email protected] >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] > > > > -- > Jonathan Hankins > > Homewood City Schools > > W: 205-877-4548 > > This e-mail is intended only for the recipient and may contain > confidential or proprietary information. If you are not the intended > recipient, the review, distribution, duplication or retention of this > message and its attachments are prohibited. Please notify the sender of > this error immediately by reply e-mail, and permanently delete this message > and its attachments in any form in which they may have been preserved.
