You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/09/22 00:27:26 UTC

[2/8] guacamole-server git commit: GUACAMOLE-622: Start terminal for SSH only after SSH connection succeeds.

GUACAMOLE-622: Start terminal for SSH only after SSH connection succeeds.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/46066073
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/46066073
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/46066073

Branch: refs/heads/master
Commit: 4606607309761cca9f69dbd8e15be2376950dac3
Parents: 0b39b0f
Author: Michael Jumper <mj...@apache.org>
Authored: Thu Aug 30 10:08:30 2018 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Sun Sep 2 23:04:14 2018 -0700

----------------------------------------------------------------------
 src/protocols/ssh/ssh.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/46066073/src/protocols/ssh/ssh.c
----------------------------------------------------------------------
diff --git a/src/protocols/ssh/ssh.c b/src/protocols/ssh/ssh.c
index 59554fb..0760f29 100644
--- a/src/protocols/ssh/ssh.c
+++ b/src/protocols/ssh/ssh.c
@@ -335,6 +335,7 @@ void* ssh_client_thread(void* data) {
 
     /* Logged in */
     guac_client_log(client, GUAC_LOG_INFO, "SSH connection successful.");
+    guac_terminal_start(ssh_client->term);
 
     /* Start input thread */
     if (pthread_create(&(input_thread), NULL, ssh_input_thread, (void*) client)) {