Hi Nick, The logs seem to imply otherwise but I did try it that way as well, yeah.
I raised the core limit and it does seem to be the issue you've linked. It looks like this is not an issue in 1.5.3? Maybe I can downgrade until 1.5.5 is available. On Tue, Jan 2, 2024 at 10:46 PM Nick Couchman <vn...@apache.org> wrote: > On Tue, Jan 2, 2024 at 3:31 PM Carl Manzi <carl.ma...@gmail.com> wrote: > >> I'm trying to set up guacamole for use in small, ephemeral labs, so I'm >> just using user-mapping.xml. >> >> I've got no problems connecting to Linux servers, but I also have Windows >> servers to connect to, and I'd prefer to use SFTP rather than the shared >> drive for upload/download of files. >> >> I've stripped the connection options down to the minimum: hostname, >> username, password, ignore-cert, resize-method. and enable-sftp. >> >> I'm confident sshd is working as I am able to connect with putty, >> ansible, and winscp. >> >> guacd logging shows successful RDP connection followed by >> seemingly-successful SSH connection, however it then appears to immediately >> disconnect: >> >> Jan 02 18:37:07 jump guacd[8548]: User >> "@3e47850d-5df6-4b86-9902-f91211172dbe" joined connection >> "$177de259-ed3f-43c9-814b-5bb4e4683bfe" (1 users now present) >> Jan 02 18:37:07 jump guacd[8548]: Client is using protocol version >> "VERSION_1_5_0" >> Jan 02 18:37:07 jump guacd[8548]: Connecting via SSH for SFTP filesystem >> access. >> Jan 02 18:37:07 jump guacd[8548]: guacd[8548]: DEBUG: Connecting >> via SSH for SFTP filesystem access. >> Jan 02 18:37:07 jump guacd[8548]: Authenticating with password. >> Jan 02 18:37:07 jump guacd[8548]: guacd[8548]: DEBUG: >> Authenticating with password. >> Jan 02 18:37:07 jump guacd[8548]: Successfully connected to host >> 172.19.26.215, port 22 >> Jan 02 18:37:07 jump guacd[8548]: guacd[8548]: DEBUG: Successfully >> connected to host 172.19.26.215, port 22 >> Jan 02 18:37:08 jump guacd[8548]: No known host keys provided, host >> identity will not be verified. >> Jan 02 18:37:08 jump guacd[8548]: guacd[8548]: WARNING: No known >> host keys provided, host identity will not be verified. >> Jan 02 18:37:08 jump guacd[8548]: Supported authentication methods: >> publickey,password,keyboard-interactive >> Jan 02 18:37:08 jump guacd[8548]: guacd[8548]: DEBUG: Supported >> authentication methods: publickey,password,keyboard-interactive >> Jan 02 18:37:08 jump guacd[8545]: Connection >> "$177de259-ed3f-43c9-814b-5bb4e4683bfe" removed. >> Jan 02 18:37:08 jump guacd[8545]: guacd[8545]: INFO: Connection >> "$177de259-ed3f-43c9-814b-5bb4e4683bfe" removed. >> Jan 02 18:37:08 jump guacd[8545]: guacd[8545]: DEBUG: Unable to >> request termination of client process: No such process >> Jan 02 18:37:08 jump guacd[8545]: guacd[8545]: DEBUG: All child >> processes for connection "$177de259-ed3f-43c9-814b-5bb4e4683bfe" have been >> terminated. >> Jan 02 18:37:08 jump guacd[8545]: Unable to request termination of client >> process: No such process >> Jan 02 18:37:08 jump guacd[8545]: All child processes for connection >> "$177de259-ed3f-43c9-814b-5bb4e4683bfe" have been terminated. >> >> >> sshd logging on the Windows server doesn't show any errors, but it does >> say "sshd: failed none for administrator" and "sshd: Connection closed by >> authenticating user ... [preauth]". >> >> This sounds to me like guac is not providing a password. Does anyone know >> why that might be? >> > > Have you filled in the SFTP parameters, including hostname, username, and > password (or key)? The SFTP support within RDP will *not* automatically > assume any parameters - that is, if you leave hostname blank, it isn't > going to just use the hostname of the RDP server. It needs a hostname. Same > for username and password. > > If you have filled those in and are still seeing connection issues, you > may be running into this issue: > https://issues.apache.org/jira/browse/GUACAMOLE-1140 > > -Nick >