From b7dca0ed16dda407f10a9d88fe86b9184ff4522b Mon Sep 17 00:00:00 2001 From: Nick Couchman Date: Sun, 11 Nov 2018 15:16:22 -0500 Subject: [PATCH] GUACAMOLE-547: Add support for SSH NONE authentication method. --- src/common-ssh/ssh.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common-ssh/ssh.c b/src/common-ssh/ssh.c index 9dde5111..2763840e 100644 --- a/src/common-ssh/ssh.c +++ b/src/common-ssh/ssh.c @@ -321,6 +321,10 @@ static int guac_common_ssh_authenticate(guac_common_ssh_session* common_session) guac_client_log(client, GUAC_LOG_DEBUG, "Supported authentication methods: %s", user_authlist); + /* If auth list is NULL, then authentication has succeeded with NONE */ + if (user_authlist == NULL) + return 0; + /* Authenticate with private key, if provided */ if (key != NULL) {