necouchman commented on a change in pull request #201: GUACAMOLE-547: Add
support for SSH NONE authentication method
URL: https://github.com/apache/guacamole-server/pull/201#discussion_r294759585
##########
File path: src/protocols/ssh/ssh.c
##########
@@ -130,26 +130,36 @@ static guac_common_ssh_user*
guac_ssh_get_user(guac_client* client) {
} /* end if key given */
- /* Otherwise, use password */
- else {
-
- /* Get password if not provided */
- if (settings->password == NULL)
- settings->password = guac_terminal_prompt(ssh_client->term,
- "Password: ", false);
-
- /* Set provided password */
- guac_common_ssh_user_set_password(user, settings->password);
-
- }
-
/* Clear screen of any prompts */
guac_terminal_printf(ssh_client->term, "\x1B[H\x1B[J");
return user;
}
+/**
+ * A call-back function used to gather additional credentials from a client
Review comment:
Reworded this a bit and added the notes as suggested.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services