From abo@dsl.dk Thu Mar 7 10:50:16 2013 Received: (at submit) by bugs.x2go.org; 7 Mar 2013 09:50:16 +0000 Received: from eu1sys200aog116.obsmtp.com (eu1sys200aog116.obsmtp.com [207.126.144.141]) by ymir (Postfix) with SMTP id 036075DB0D for ; Thu, 7 Mar 2013 10:50:15 +0100 (CET) Received: from mail-oa0-f72.google.com ([209.85.219.72]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKUThi1wGbKce1vam8cX7Nr22tJe/lWyEE@postini.com; Thu, 07 Mar 2013 09:50:16 UTC Received: by mail-oa0-f72.google.com with SMTP id j6so1885995oag.3 for ; Thu, 07 Mar 2013 01:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dsl.dk; s=google; h=x-received:mime-version:x-received:date:message-id:subject:from:to :content-type; bh=H0N0ff6qDaP9VKEpDGSDtxE3z9SopwnG6jxGbIYS61I=; b=QRIG0t6LWc9KGEYN6tBVbklxaoKAeZwN4Qs9XcD3IzA3Pw/8kyMXhA55nEuy9iz6Zx /9J3NcMVOZ1uUQUqlN1IfsD0N3O3/C+p83gswr3e+gfAQryeLIiug/8bw6EMdf/5MrVA gThqmXT6AHQnwED9u0cgNnahYGaMRMgo8mNdE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=H0N0ff6qDaP9VKEpDGSDtxE3z9SopwnG6jxGbIYS61I=; b=k87pHVXSc4/oOZeFNehPSmqZssSStLREfYuMaRqiPbjbZULht8NXCEYzyHeVj2kQsh Y04FtcGmjFWOnU076bBTN7Cucgez+YQUXKOD8oMj2IPFw7AWDO0auiGT61esH1l57jZO p+/Qa47otNQZpjHCRylYHfWJuqtzF1xUIRXL3WBodtat9ZROfuKBBiY4NlYEieZ6IGlR A/++25Jpj2nE/RLOJ2VxSjBs59YJVOOvEYB/FK8upzkb5TDZOwLDykgSRx1Qx6e1KYBr MZzwhIgZgddZ1bN6UUHlzTBQU2XOfhVNZc11iwjPECL6rFYQQWxv7zz/Daa1+AIMqJyI +v9w== X-Received: by 10.182.31.109 with SMTP id z13mr25557105obh.37.1362649814752; Thu, 07 Mar 2013 01:50:14 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.182.31.109 with SMTP id z13mr25557102obh.37.1362649814559; Thu, 07 Mar 2013 01:50:14 -0800 (PST) Received: by 10.182.95.211 with HTTP; Thu, 7 Mar 2013 01:50:13 -0800 (PST) Date: Thu, 7 Mar 2013 10:50:13 +0100 Message-ID: Subject: X2Gobroker: session autologin does not work From: Anders Bruun Olsen To: submit@bugs.x2go.org Content-Type: multipart/alternative; boundary=14dae93b5c802680de04d752a237 X-Gm-Message-State: ALoCoQlFK56JmVtuO2gk+8TczwLAVuxKCtXW5y2MFNqpt8N0NMhm2tFFJjLsTJZ5z5i4+CFoUxrg+FLEAR0UwNfOmdl5qRkVGs0rtTJJTXVzV+U7SJ0HNibi60sEqBersEn3GFLXF5R7k8g/kr77FpTUWPZgSigWWg== --14dae93b5c802680de04d752a237 Content-Type: text/plain; charset=UTF-8 Package: x2gobroker Version: 0.0.0.7 When broker-session-autologin=true is set for a profile, a temp ssh-key-pair is generated. The pubkey is added to %h/.x2go/authorized_keys on the term-server and the private key is given to x2goclient. Unfortunately this does not seem to work for us. When we try to login this way, a dialog box is shown, asking for a "passphrase to decrypt a key". At first in our test-setup we thought this worked, because I already had password-less login to the terminal-servers using ssh-keys. As soon as I move my .ssh dir, this other problem occurs. It also occurs for for users without any ssh-keys setup. I can see that the pubkey is successfully added (and removed after 20 seconds) on the term-server in $HOME/.x2go/authorized_keys. The sshd on the term-server is set to also look in %h/.x2go/authorized_keys. -- Anders Bruun Olsen It-ansvarlig Det Danske Sprog- og Litteraturselskab (Society for Danish Language and Literature) --14dae93b5c802680de04d752a237 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Package: x2gobroker
Version: 0.0.0.7

When broker-session-autologin=3Dtrue is set for a profile, a temp s= sh-key-pair is generated. The pubkey is added to %h/.x2go/authorized_keys o= n the term-server and the private key is given to x2goclient. Unfortunately= this does not seem to work for us. When we try to login this way, a dialog= box is shown, asking for a "passphrase to decrypt a key".
At first in our test-setup we thought this worked, because I already h= ad password-less login to the terminal-servers using ssh-keys. As soon as I= move my .ssh dir, this other problem occurs. It also occurs for for users = without any ssh-keys setup. I can see that the pubkey is successfully added= (and removed after 20 seconds) on the term-server in $HOME/.x2go/authorize= d_keys. The sshd on the term-server is set to also look in %h/.x2go/authori= zed_keys.

--
Anders Bruun Olsen
It-ansvarlig
Det Danske Spro= g- og Litteraturselskab
(Society for Danish Language and Literature)
--14dae93b5c802680de04d752a237--