[jira] [Commented] (GUACAMOLE-1800) Supporting both publickey and password authentication

2023-06-07 Thread Nick Couchman (Jira)


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

Nick Couchman commented on GUACAMOLE-1800:
--

{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}

Should have read the sshd_config man page _before_ posting this, because I 
wouldn't have to correct myself. It does sound like that configuration that you 
posted makes it require both methods, so that makes sense, and it does seem to 
be a form of 2FA-type authentication.

I'll have to go back and look at the guacd code, but I'm pretty sure the way it 
is written today won't work with this, because it basically "selects" one 
method and tries that until it either succeeds or fails and doesn't go back and 
look for other requirements.

> 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)


[jira] [Commented] (GUACAMOLE-1800) Supporting both publickey and password authentication

2023-06-07 Thread Diogo Silva (Jira)


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

Diogo Silva commented on GUACAMOLE-1800:


Hi [~vnick] ,

I do not have the server SSH configuration of this particular server, but I 
believe the configuration to be:

 

{{AuthenticationMethods "publickey,password"}}

{{}}

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.

> 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)


[jira] [Commented] (GUACAMOLE-1800) Supporting both publickey and password authentication

2023-06-02 Thread Nick Couchman (Jira)


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

Nick Couchman commented on GUACAMOLE-1800:
--

[~diogosilva14]: Can you provide an example SSH server configuration?

> 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)