On Mon, Apr 8, 2019 at 2:37 PM wesparish <[email protected]> wrote:
> I'm sure I'm missing something simple, however, I'm having issues with SSH > in > Guacamole. We build in a separate build environment, package into an RPM, > then install into a Docker container and deploy to another environment. SSH > was previously working, but after a fresh rebuild of everything, it seems > to > be having issues now. I'm struggling to figure out where to look next. > Perhaps there are permissions issues or RPM packaging issues that might be > biting me? > > I'm receiving the error message: > > guacd[2135]: WARNING: Support for protocol "ssh" is not installed > > I am compiling guacamole-server from source on RHEL-7.5, and receive the > following output during configure: > ... > The following dynamics links are resolved: > [root@virtual-desktops-client-server-568dccb57f-vcdzw /]# ldd $(which > guacd) > linux-vdso.so.1 => (0x00007ffd6b4e1000) > ... > You're on the right track with using ldd, as the problem is likely to do with linking, but don't forget the relevant protocol support plugin that is failing to load. The error you're seeing is not a problem with guacd itself (which is successfully running) but with libguac-client-ssh. Try: $ ldd -r /usr/local/lib/libguac-client-ssh.so On an unrelated matter, I suggest tightening down your permissions. Assuming the guacd service will be running as that "guacd" user listed in your ls output, it would be better if the service did not have permission to modify its own files. It really should lack write permission to virtually everything except the directories you may use for session recordings or RDP drive storage. - Mike On Mon, Apr 8, 2019 at 2:37 PM wesparish <[email protected]> wrote: > I'm sure I'm missing something simple, however, I'm having issues with SSH > in > Guacamole. We build in a separate build environment, package into an RPM, > then install into a Docker container and deploy to another environment. SSH > was previously working, but after a fresh rebuild of everything, it seems > to > be having issues now. I'm struggling to figure out where to look next. > Perhaps there are permissions issues or RPM packaging issues that might be > biting me? > > I'm receiving the error message: > > guacd[2135]: WARNING: Support for protocol "ssh" is not installed > > I am compiling guacamole-server from source on RHEL-7.5, and receive the > following output during configure: > > ------------------------------------------------ > guacamole-server version 0.9.14 > ------------------------------------------------ > > Library status: > > freerdp ............. no > pango ............... yes > libavcodec .......... no > libavutil ........... no > libssh2 ............. yes > libssl .............. yes > libswscale .......... no > libtelnet ........... no > libVNCServer ........ yes > libvorbis ........... yes > libpulse ............ yes > libwebp ............. yes > wsock32 ............. no > > Protocol support: > > RDP ....... no > SSH ....... yes > Telnet .... no > VNC ....... yes > > Services / tools: > > guacd ...... yes > guacenc .... no > > Init scripts: no > > Type "make" to compile guacamole-server. > > After building, packaging and installing, I have the following > shared-objects and libraries: > > [root@virtual-desktops-client-server-568dccb57f-vcdzw /]# ls -lrt > /usr/local/lib/*guac* > -rw-r-----. 1 guacd guacd 377960 Aug 27 2018 > /usr/local/lib/libguac.so.12.3.0 > -rw-r-----. 1 guacd guacd 1179 Aug 27 2018 /usr/local/lib/libguac.la > -rw-r-----. 1 guacd guacd 723314 Aug 27 2018 /usr/local/lib/libguac.a > -rwxr-xr-x. 1 guacd guacd 477072 Aug 27 2018 > /usr/local/lib/libguac-client-vnc.so.0.0.0 > -rwxr-xr-x. 1 guacd guacd 1466 Aug 27 2018 > /usr/local/lib/libguac-client-vnc.la > -rwxr-xr-x. 1 guacd guacd 1007278 Aug 27 2018 > /usr/local/lib/libguac-client-vnc.a > -rwxr-xr-x. 1 guacd guacd 650288 Aug 27 2018 > /usr/local/lib/libguac-client-ssh.so.0.0.0 > -rwxr-xr-x. 1 guacd guacd 1504 Aug 27 2018 > /usr/local/lib/libguac-client-ssh.la > -rwxr-xr-x. 1 guacd guacd 1246150 Aug 27 2018 > /usr/local/lib/libguac-client-ssh.a > lrwxrwxrwx. 1 guacd guacd 17 Apr 8 19:19 /usr/local/lib/libguac.so.12 > -> libguac.so.12.3.0 > lrwxrwxrwx. 1 guacd guacd 17 Apr 8 19:19 /usr/local/lib/libguac.so -> > libguac.so.12.3.0 > lrwxrwxrwx. 1 guacd guacd 27 Apr 8 19:19 > /usr/local/lib/libguac-client-vnc.so.0 -> libguac-client-vnc.so.0.0.0 > lrwxrwxrwx. 1 guacd guacd 27 Apr 8 19:19 > /usr/local/lib/libguac-client-vnc.so -> libguac-client-vnc.so.0.0.0 > lrwxrwxrwx. 1 guacd guacd 27 Apr 8 19:19 > /usr/local/lib/libguac-client-ssh.so.0 -> libguac-client-ssh.so.0.0.0 > lrwxrwxrwx. 1 guacd guacd 27 Apr 8 19:19 > /usr/local/lib/libguac-client-ssh.so -> libguac-client-ssh.so.0.0.0 > > [root@virtual-desktops-client-server-568dccb57f-vcdzw /]# guacd -b 0.0.0.0 > -f > guacd[2126]: INFO: Guacamole proxy daemon (guacd) version 0.9.14 > started > guacd[2126]: INFO: Listening on host 0.0.0.0, port 4822 > guacd[2126]: INFO: Creating new client for protocol "ssh" > guacd[2126]: INFO: Connection ID is > "$0e96c58f-b15e-4d2d-8e60-7debd17043cf" > guacd[2135]: WARNING: Support for protocol "ssh" is not installed > guacd[2126]: INFO: Connection "$0e96c58f-b15e-4d2d-8e60-7debd17043cf" > removed. > > The current packages are installed: > > [root@virtual-desktops-client-server-568dccb57f-vcdzw /]# rpm -qa | grep > 'libcairo\|libpango\|libssh2\|pango' > libssh2-1.4.3-12.el7.x86_64 > libssh2-devel-1.4.3-12.el7.x86_64 > pango-1.42.4-1.el7.x86_64 > > The following dynamics links are resolved: > [root@virtual-desktops-client-server-568dccb57f-vcdzw /]# ldd $(which > guacd) > linux-vdso.so.1 => (0x00007ffd6b4e1000) > libguac.so.12 => /usr/local/lib/libguac.so.12 (0x00007fb541e38000) > libcairo.so.2 => /lib64/libcairo.so.2 (0x00007fb541b01000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007fb5418fd000) > libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007fb5416a8000) > libpng15.so.15 => /lib64/libpng15.so.15 (0x00007fb54147d000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb541261000) > libssl.so.10 => /lib64/libssl.so.10 (0x00007fb540fef000) > libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007fb540b8e000) > libossp-uuid.so.16 => /lib64/libossp-uuid.so.16 > (0x00007fb540982000) > libogg.so.0 => /lib64/libogg.so.0 (0x00007fb54077b000) > libvorbis.so.0 => /lib64/libvorbis.so.0 (0x00007fb54054e000) > libvorbisenc.so.2 => /lib64/libvorbisenc.so.2 (0x00007fb54007f000) > libwebp.so.4 => /lib64/libwebp.so.4 (0x00007fb53fe2f000) > libc.so.6 => /lib64/libc.so.6 (0x00007fb53fa62000) > libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007fb53f7b9000) > libfontconfig.so.1 => /lib64/libfontconfig.so.1 > (0x00007fb53f577000) > libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007fb53f2b8000) > libEGL.so.1 => /lib64/libEGL.so.1 (0x00007fb53f0a4000) > libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007fb53eea0000) > libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fb53ec78000) > libxcb-render.so.0 => /lib64/libxcb-render.so.0 > (0x00007fb53ea6a000) > libXrender.so.1 => /lib64/libXrender.so.1 (0x00007fb53e85f000) > libX11.so.6 => /lib64/libX11.so.6 (0x00007fb53e521000) > libXext.so.6 => /lib64/libXext.so.6 (0x00007fb53e30f000) > libz.so.1 => /lib64/libz.so.1 (0x00007fb53e0f9000) > libGL.so.1 => /lib64/libGL.so.1 (0x00007fb53de6d000) > librt.so.1 => /lib64/librt.so.1 (0x00007fb53dc65000) > libm.so.6 => /lib64/libm.so.6 (0x00007fb53d963000) > /lib64/ld-linux-x86-64.so.2 (0x00007fb54204c000) > libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 > (0x00007fb53d716000) > libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fb53d42d000) > libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fb53d229000) > libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fb53d00e000) > libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fb53cde4000) > libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fb53cbdf000) > libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fb53c9cf000) > libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 > (0x00007fb53c719000) > libXau.so.6 => /lib64/libXau.so.6 (0x00007fb53c515000) > libGLX.so.0 => /lib64/libGLX.so.0 (0x00007fb53c2e3000) > libkrb5support.so.0 => /lib64/libkrb5support.so.0 > (0x00007fb53c0d4000) > libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fb53bed0000) > libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb53bcb7000) > libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fb53ba90000) > libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fb53b82e000) > > Thanks, > Wes > > > > -- > Sent from: > http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/ >
