<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>I admin it might not be the most elegant solution, but I find it better than to hardcode the prompt in the sourcecode. Isn't it possible to modify to code to be able to work with whatever prompt? Isnt't there any function in the libraries x2goclient uses that can handle this?</div>

<div> </div>

<div>Swizzly</div>

<div> 
<div name="quote" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left-color: rgb(195, 217, 229); border-left-width: 2px; border-left-style: solid; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin: 0px 0px 10px;"><b>Gesendet:</b> Montag, 16. März 2015 um 17:07 Uhr<br/>
<b>Von:</b> "Mihai Moldovan" <ionic@ionic.de><br/>
<b>An:</b> "swizz ly" <swizz.ly@gmx.ch><br/>
<b>Cc:</b> x2go-user@lists.x2go.org<br/>
<b>Betreff:</b> Re: [X2Go-User] X2Go Two-factor-authentication with SecurID</div>

<div name="quoted-content">On 16.03.2015 04:53 PM, swizz ly wrote:<br/>
> I have found the problem. The prompt of the SSH server is coded in the<br/>
> source code of x2goclient.<br/>
> We use for authentication via SecurID a different SSH promtp to<br/>
> emphasize the difference. Last week I already changed the prompt of<br/>
> the SecurID prompt to be the same as the normal SSH, but I didn't<br/>
> notice the blank after the "Password: "...<br/>
> Unfortunately, I haven't managed to get the blank space at the end of<br/>
> "Password: ". So I just edited the source code of the x2goclient, and<br/>
> changed the line where the expected prompt is defined.<br/>
> This solution worked.<br/>
> Would it make sense to include the expected ssh prompt as a parameter<br/>
> in x2go in order to avoid having to recomplie the source code in a<br/>
> such case?<br/>
<br/>
Hum, maybe. I would be a really obscure setting, though. Is there no<br/>
default other than "Password: "? Adding/hardcoding other defaults is<br/>
definitely an option. Everybody else who deviates from that is basically<br/>
on their own -- so a parameter would make sense.<br/>
<br/>
Then again, how much sense does that make as a default parameter?<br/>
Suppose you have multiple sessions and want to connect to different<br/>
servers -- which also happen to have different prompts. A global command<br/>
line parameter would make connecting to one prompt type possible (only.)<br/>
<br/>
This probably should be a per-session preference, if anything. But the<br/>
use case is so special that I'm unsure whether it makes sense as a<br/>
general setting in the client or not...<br/>
<br/>
<br/>
<br/>
Mihai<br/>
 </div>
</div>
</div>
</div></div></body></html>