[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730065#comment-17730065
 ] 

Nick Couchman commented on GUACAMOLE-1800:
------------------------------------------

{quote}
AuthenticationMethods "publickey,password"
{quote}

Most of the time that means, "Try public key, first, and if that doesn't work, 
then try password." Requiring _both_ public key _and_ password isn't something 
I've ever seen, but I was asking because I was wondering if it were some form 
of 2FA authentication.

{quote}
What I believe is happening is that once guacamole authenticates via publickey 
and the server requests a password, guacamole throws an error and does not 
provide the password, as I have both the publickey and the password configured 
for this connection.
{quote}

Yes, I believe the way the code is structured, Guacamole will provide either 
public key or password, but not both - so it negotiates with the remote server 
on the authentication methods, tries one, and if that fails or the credentials 
are not present, moves on to the next one.

Are you sure it's requesting a password and not a passphrase - as in, the 
encryption passphrase for the key?

> Supporting both publickey and password authentication
> -----------------------------------------------------
>
>                 Key: GUACAMOLE-1800
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1800
>             Project: Guacamole
>          Issue Type: Bug
>            Reporter: Diogo Silva
>            Priority: Minor
>
> Hi,
> Im trying to configure an SSH server that required both publickey and 
> password authentication, and I am not able to get guacamole to connect to it. 
> Is publickey+password authentication not support?
>  
> Thanks



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to