There is an easier way of doing this;

 

What you need is a port server, here is how you build one without spending 
$1000’s on a DigiPort server.  

 

 

Basic build info DIY:

1.       Take a system that can handle USB or a DB9 (PCIx) for the serial port 
to console port

2.       Install Ubuntu or Debian 

a.       Install the application screen (sudo apt install screen)

b.       Enable SSH allow two accounts, admin and limited end user access.

3.       Create a port listening script using AWK/SED IF ELSE to take inbound 
connections on port 22 and direct it to /dev/ttyusb0 or /dev/ttyS0 

4.       Connect your cables to the console port of the device

 

Enterprise Solution:

 

We have a device we built that handles all this for a fraction of the cost of a 
DigiPort and works very well with Guacamole, also comes in different capacities 
8 device 16 and 24 devices.

If you like a demo let me know. 

 

This will work with any RS232 device or Console capable devices.

 

Thank You

Sean Hulbert

 

Founder / CEO

Work Ph: 925.292.4309

 

 <http://www.securitycentric.net/> www.securitycentric.net

A Cybersecurity Enablement Company

We don't just run you through the motions, Our labs teach you how to think!

 

 

 

System Award Management

CAGE: 8AUV4

 

AFCEA San Francisco Chapter V.P.

 

If you have heard of a hacker by name, he/she has failed, fear the hacker you 
haven’t heard of!

 

CONFIDENTIALITY NOTICE: This communication with its contents may contain 
confidential and/or legally privileged information. It is solely for the use of 
the intended recipient(s). Unauthorized interception, review, use or disclosure 
is prohibited and may violate applicable laws including the Electronic 
Communications Privacy Act. If you are not the intended recipient, please 
contact the sender and destroy all copies of the communication. Content within 
this email communication is not legally binding as a contract and no promises 
are guaranteed unless in a formal contract outside this email communication.

 

igitur qui desiderat pacem, praeparet bellum!!!

Epitoma Rei Militaris

 

From: Hankins, Jonathan [mailto:[email protected]] 
Sent: Tuesday, April 5, 2022 8:36 AM
To: [email protected]
Subject: Re: Unable to allocate PTY, possible bug

 

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] 
<mailto:[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] <mailto:[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] 
> <mailto:[email protected]> 
> For additional commands, e-mail: [email protected] 
> <mailto:[email protected]> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] 
<mailto:[email protected]> 
For additional commands, e-mail: [email protected] 
<mailto:[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.

Reply via email to