Resolution: Not A Bug
Affects Version/s: 0.9.14, 1.0.0
Fix Version/s: None
Update: Built a brand new Guac 1.0.0 install, same issue. Further details below.
When attempting to use Guacamole 1.0.0 to connect via SSH to an Appliance that has a proprietary shell (non-bash), SSH connects to the server via Guac, however disconnects after password is submitted.
Event logs on Guac server show 'SSH Handshake Failed', but no other info. Able to connect to the appliance using Putty, Terraterm SSH clients, and able to SSH from Guac server CLI also without issue.
Only occurs on SSH servers where the vendor has implemented their own restricted shell, e.g. as many pre-packaged virtual appliances have.
Guac Server OS: CentOS Linux release 7.6.1810 (Core)
SSH Server: Server version: SSH-2.0-OpenSSH_5.3
Log excerpts below.
In the below log except, taken from a working client (PUtty), the Guac server usually disconnects between the <—XXXXXXXXX—> parts of the sequence straight after the user provides the password, appears to be when the server switches to it's proprietary shell.
From a (Working) SSH Client Log to the affected SSH Server/Appliance:
Install versions of libssh as requested:
libssh2.x86_64 1.4.3-12.el7 @base
libssh2-devel.x86_64 1.4.3-12.el7 @base
openssh.x86_64 7.4p1-16.el7 @anaconda
openssh-clients.x86_64 7.4p1-16.el7 @anaconda
openssh-server.x86_64 7.4p1-16.el7 @anaconda