Hi Mihai
 
Thanks for the update. I tried it, it works nicely, many thanks! However, there is a small thing: the user has to be aware that the "Password:" in the first window is ignored and has nothing to do with the two factor authentication, only in the pop-up window with the "Verification code:" should he/she enter the two-factor passcode. It might be somewhat confusing for the first time. As a small suggestion, I would either use the input from the "Password:" field even for the two-factor passcode, or in the pop-up window I would directly copy the prompt from the SSH session, in this case "Enter PASSCODE:" instead of "Verification code:".
 
many thanks
Swizz Ly
 
Gesendet: Mittwoch, 16. November 2016 um 11:38 Uhr
Von: "Mihai Moldovan" <ionic@ionic.de>
An: "swizz ly" <swizz.ly@gmx.ch>, x2go-user@lists.x2go.org
Betreff: Re: [X2Go-User] X2Go Two-factor-authentication with SecurID
On 03.11.2016 11:32 AM, swizz ly wrote:
> Is there any update on this issue? I posted the original mail for more than a
> year ago. I tried the current X2Go Windows Client V4.0.5.2 but unfortunatelly it
> is still not working with two-factor SecurID authorisation. It would be very
> simple to fix this issue, just to remove the fix hard-coded SSH-Prompt from the
> source code. To whom shall I write to make this change happen?

Sorry for getting back at you so late.

I've added the new prompt to X2Go Client. Newer version will support it.

I don't think accepting all prompts is a good idea, because not every prompt
might be a challenge auth prompt.

However, due to my rewrite of the code in question some good time ago, it's now
easier than ever to add new prompts values:

http://code.x2go.org/gitweb?p=x2goclient.git;a=blob;f=src/sshmasterconnection.cpp;h=4f1987b5076ec71bafe41ed771bade30258111e6;hb=HEAD#l58

(I deliberately didn't add a link to SecurID because it's a proprietary
solution. Just to be safe.)



Mihai