<div>Package: x2goclient</div><div>Version: lucid - precise: amd64/i386 (ppa.launchpad), precise 3.99.0.5-1: amd64/i386</div><div><br></div><div>I should use OTM authentification (One Time Password) like google authentificator on my X2go server but it's impossible to mount shared folder and/or local printer.</div>
<div><br></div><div>If i don't use OTP, i can see x2goclient connect twice to my server. First time to login and second time, to shared folder and/or local printer</div><div>Dec  1 10:33:22 my_serveur sshd[22271]: Accepted password for pascal from AAA.BBB.CCC.DDD port 36053 ssh2</div>
<div>Dec  1 10:33:22 my_serveur sshd[22271]: pam_unix(sshd:session): session opened for user pascal by (uid=0)</div><div>Dec  1 10:33:36 my_serveur sshd[22707]: Accepted password for pascal from AAA.BBB.CCC.DDD port 36057 ssh2</div>
<div>Dec  1 10:33:36 my_serveur sshd[22707]: pam_unix(sshd:session): session opened for user pascal by (uid=0)</div><div><br></div><div>I i use OTP, password is valide one time. So, i can login on x2goserver but i can not reuse the same password to shared folder:</div>
<div>Dec  1 10:37:26 my_serveur sshd[28415]: Accepted password for pascal from AAA.BBB.CCC.DDD port 36062 ssh2</div><div>Dec  1 10:37:26 my_serveur sshd[28415]: pam_unix(sshd:session): session opened for user pascal by (uid=0)</div>
<div>Dec  1 10:37:36 my_serveur sshd(pam_google_authenticator)[28839]: Trying to reuse a previously used time-based code. Retry again in 30 seconds. Warning! This might mean, you are currently subject to a man-in-the-middle attack.</div>
<div>Dec  1 10:37:36 my_serveur sshd(pam_google_authenticator)[28839]: Invalid verification code</div><div>Dec  1 10:37:36 my_serveur sshd[28839]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=<a href="http://toto.tata.titi.fr">toto.tata.titi.fr</a>  user=pascal</div>
<div>Dec  1 10:37:39 my_serveur sshd[28839]: Failed password for pascal from AAA.BBB.CCC.DDD port 36067 ssh2</div><div>Dec  1 10:37:39 my_serveur sshd[28839]: Received disconnect from AAA.BBB.CCC.DDD: Bye Bye [preauth]</div>
<div><br></div><div id="">If X2goclient use multiplex ssh client option:</div><div>Host *</div><div>    ControlMaster auto</div><div>    ControlPath ~/.ssh/%r@%h:%p</div><div id="">First connection use password and create SSH socket file. </div>
<div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown">The second connection reuse first one and it can connect whithout authentification.</div><div id="aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown"><br></div><div>In my test, X2goclient don't use some ssh client option.</div>
<div id=""><br></div><div id="">Regards</div><div><br></div><div>Pascal Vibet</div>