[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Jumper updated GUACAMOLE-1206:
-----------------------------------
    Description: 
We have a Spectra Logic storage box here and the remote console uses SSH but 
with a restricted shell, not a standard shell (sh/bash/whatever). When 
attempting to connect, guacd stalls and never returns (or I wasn't patient 
enough to wait several minutes). This was working in 0.9.8. If I read correctly 
changes were made in 1.1.0 to interrogate the remote SSH server for stuff like 
the shell used, setting the TZ and locale.

All our old connections have been redone in the configuration and work 
seamlessly except this one.  SSH connections with 'normal' OpenSSH servers are 
working perfectly. Pretty sure that this new handshake is not working in this 
context. How should I investigate this and is there a way to revert to the old 
behavior ? 

Messages outputted by guacd:

{code:none}
guacd[6]: INFO: Creating new client for protocol "ssh"
guacd[6]: INFO: Connection ID is "$af567702-1461-451c-8238-c2f50fa16a01"
guacd[1876]: INFO:      User "@91f7ab2c-6970-4f40-a3bc-0640160da256" joined 
connection "$af567702-1461-451c-8238-c2f50fa16a01" (1 users now present)
guacd[1876]: WARNING:   No known host keys provided, host identity will not be 
verified.
guacd[1876]: WARNING:   Unsupported number of keyboard-interactive prompts: 0
guacd[1876]: WARNING:   Unable to set the timezone: SSH server refused to set 
"TZ" variable.
guacd[1876]: WARNING:   No known host keys provided, host identity will not be 
verified.
guacd[1876]: WARNING:   Unsupported number of keyboard-interactive prompts: 0
{code}

 

 

  was:
We have a Spectra Logic storage box here and the remote console uses SSH

but with a restricted shell, not a standard shell (sh/bash/whatever).

When attempting to connect, guacd stalls and never returns

(or I wasn't patient enough to wait several minutes).

This was working in 0.9.8. If I read correctly changes were made in 1.1.0 to 
interrogate the remote SSH server for stuff like the shell used, setting the TZ 
and locale.

All our old connections have been redone in the configuration and work 
seamlessly except this one.  SSH connections with 'normal' OpenSSH servers are 
working perfectly.

Pretty sure that this new handshake is not working in this context.

How should I investigate this and is there a way to revert to the old behavior 
? 

I pasted the messages outputted by guacd in the Docs text section.

 

 


> SSH connection - restricted shell
> ---------------------------------
>
>                 Key: GUACAMOLE-1206
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1206
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacd, SSH
>    Affects Versions: 1.2.0
>         Environment: Ubuntu 20.04, docker 19.03.13, Guacamole 1.2.0
>            Reporter: Luc Prefontaine
>            Priority: Major
>
> We have a Spectra Logic storage box here and the remote console uses SSH but 
> with a restricted shell, not a standard shell (sh/bash/whatever). When 
> attempting to connect, guacd stalls and never returns (or I wasn't patient 
> enough to wait several minutes). This was working in 0.9.8. If I read 
> correctly changes were made in 1.1.0 to interrogate the remote SSH server for 
> stuff like the shell used, setting the TZ and locale.
> All our old connections have been redone in the configuration and work 
> seamlessly except this one.  SSH connections with 'normal' OpenSSH servers 
> are working perfectly. Pretty sure that this new handshake is not working in 
> this context. How should I investigate this and is there a way to revert to 
> the old behavior ? 
> Messages outputted by guacd:
> {code:none}
> guacd[6]: INFO: Creating new client for protocol "ssh"
> guacd[6]: INFO: Connection ID is "$af567702-1461-451c-8238-c2f50fa16a01"
> guacd[1876]: INFO:      User "@91f7ab2c-6970-4f40-a3bc-0640160da256" joined 
> connection "$af567702-1461-451c-8238-c2f50fa16a01" (1 users now present)
> guacd[1876]: WARNING:   No known host keys provided, host identity will not 
> be verified.
> guacd[1876]: WARNING:   Unsupported number of keyboard-interactive prompts: 0
> guacd[1876]: WARNING:   Unable to set the timezone: SSH server refused to set 
> "TZ" variable.
> guacd[1876]: WARNING:   No known host keys provided, host identity will not 
> be verified.
> guacd[1876]: WARNING:   Unsupported number of keyboard-interactive prompts: 0
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to