You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2018/06/26 00:30:44 UTC
[10/22] guacamole-server git commit: GUACAMOLE-527: Add warning if no
known host keys are provided.
GUACAMOLE-527: Add warning if no known host keys are provided.
Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/ebbb7492
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/ebbb7492
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/ebbb7492
Branch: refs/heads/master
Commit: ebbb7492e77e1d0e9f9f6e12269e723a330e8f63
Parents: 27c977a
Author: Nick Couchman <vn...@apache.org>
Authored: Mon May 28 10:27:44 2018 -0400
Committer: Nick Couchman <ni...@cotyinc.com>
Committed: Mon Jun 25 08:31:37 2018 -0400
----------------------------------------------------------------------
src/common-ssh/key.c | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/ebbb7492/src/common-ssh/key.c
----------------------------------------------------------------------
diff --git a/src/common-ssh/key.c b/src/common-ssh/key.c
index 66b8386..b7c73f0 100644
--- a/src/common-ssh/key.c
+++ b/src/common-ssh/key.c
@@ -287,6 +287,8 @@ int guac_common_ssh_verify_host_key(LIBSSH2_SESSION* session, guac_client* clien
/* No host keys were loaded, so we bail out checking and continue the connection. */
else if (known_hosts == 0) {
+ guac_client_log(client, GUAC_LOG_WARNING,
+ "No known host keys provided, host identity will not be verified.");
libssh2_knownhost_free(ssh_known_hosts);
return known_hosts;
}