diff --git a/src/protocols/ssh/ssh.c b/src/protocols/ssh/ssh.c index 0a67be08..82d0507d 100644 --- a/src/protocols/ssh/ssh.c +++ b/src/protocols/ssh/ssh.c @@ -130,6 +130,11 @@ static guac_common_ssh_user* guac_ssh_get_user(guac_client* client) { } /* end if key given */ + /* If available, get password from settings */ + else if (settings->password != NULL){ + guac_common_ssh_user_set_password(user, settings->password); + } + /* Clear screen of any prompts */ guac_terminal_printf(ssh_client->term, "\x1B[H\x1B[J");