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?

Reply via email to