Github user necouchman commented on a diff in the pull request:
https://github.com/apache/guacamole-server/pull/156#discussion_r178621626
--- Diff: src/protocols/ssh/ssh.c ---
@@ -296,9 +299,17 @@ void* ssh_client_thread(void* data) {
}
+ /* Set up the ttymode array prior to requesting the PTY */
+ int ttymodeBytes = guac_ssh_ttymodes_init(ssh_ttymodes,
+ GUAC_SSH_TTY_OP_VERASE, settings->backspace,
GUAC_SSH_TTY_OP_END);
+ if (ttymodeBytes < 1)
+ guac_client_abort(client, GUAC_PROTOCOL_STATUS_SERVER_ERROR,
"Error storing TTY mode encoding \
--- End diff --
Changed.
---