Re: [Sugar-devel] git.sugarlabs.org difficulties
2009/2/19 Bernie Innocenti ber...@codewiz.org: Martin Langhoff wrote: On Tue, Feb 17, 2009 at 10:01 AM, Bernie Innocenti ber...@codewiz.org wrote: You should be using gitorious@ rather than vepla...@. Yes, it's awkward, but it's explained somewhere on the repository page. Internally, gitorious dispatches individual users by means of ~/.ssh/authorized_keys. Strange. So you cannot have 2 accounts with the same ssh key? Apparently not. And it also doesn't scale that well with thousands of users. The generated authorized_keys file looks like this: ### START KEY 7 ### command=gitorious bernie,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa B3Nz...gJVNrOZuw== ber...@trinity.develer.com ### END KEY 7 ### ### START KEY 9 ### command=gitorious bernie,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa B3N1...91K6xbIWQ== ber...@daneel.codewiz.org ### END KEY 9 ### That no-agent-forwarding may explain why I'm not able to push from sunjammer when I log in there with ssh -A? Though I would swear I was able last week. Thanks, Tomeu ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
Tomeu Vizoso wrote: ### START KEY 7 ### command=gitorious bernie,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa B3Nz...gJVNrOZuw== ber...@trinity.develer.com ### END KEY 7 ### ### START KEY 9 ### command=gitorious bernie,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa B3N1...91K6xbIWQ== ber...@daneel.codewiz.org ### END KEY 9 ### That no-agent-forwarding may explain why I'm not able to push from sunjammer when I log in there with ssh -A? No, I think it would prevent your agent on sunjammer to be forwarded to the gitorious machine too (a waste of time since you cannot log anywhere else anyway). Though I would swear I was able last week. Check $SSK_AUTH_SOCK from sunjammer, and try ssh-add -l to ensure that your keys are still available. Works for me. -- // Bernie Innocenti - http://www.codewiz.org/ \X/ Sugar Labs - http://www.sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
Martin Langhoff wrote: On Tue, Feb 17, 2009 at 10:01 AM, Bernie Innocenti ber...@codewiz.org wrote: You should be using gitorious@ rather than vepla...@. Yes, it's awkward, but it's explained somewhere on the repository page. Internally, gitorious dispatches individual users by means of ~/.ssh/authorized_keys. Strange. So you cannot have 2 accounts with the same ssh key? Apparently not. And it also doesn't scale that well with thousands of users. The generated authorized_keys file looks like this: ### START KEY 7 ### command=gitorious bernie,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa B3Nz...gJVNrOZuw== ber...@trinity.develer.com ### END KEY 7 ### ### START KEY 9 ### command=gitorious bernie,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa B3N1...91K6xbIWQ== ber...@daneel.codewiz.org ### END KEY 9 ### -- // Bernie Innocenti - http://www.codewiz.org/ \X/ Sugar Labs - http://www.sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
On Mon, Feb 16, 2009 at 11:19 PM, Martin Langhoff martin.langh...@gmail.com wrote: Strange. So you cannot have 2 accounts with the same ssh key? Yes, but why would you want/need to? -- Luke Faraone http://luke.faraone.cc ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
After a cooling off period, now the connection is not refused anymore, but still no success. I now get a 'access denied or bad command'. I am using the git push gitori...@git.sugarlabs.org:csndsugui/mainline.git command. I also tried checking if my rsa key was working by using ssh gitori...@git.sugarlabs.org -v as suggested to me and the debug messages suggest authentication to be successful. Any suggestions? - Original Message - From: Morgan Collett morgan.coll...@gmail.com To: victor victor.lazzar...@nuim.ie Cc: sugar-devel@lists.sugarlabs.org Sent: Monday, February 16, 2009 12:17 PM Subject: Re: [Sugar-devel] git.sugarlabs.org difficulties On Mon, Feb 16, 2009 at 14:02, victor victor.lazzar...@nuim.ie wrote: Hello everyone, I am trying to move my project from OLPC git to sugar GIT. I have created my account (username: vepliani), uploaded my dsa public key and then tried topush my files into mainline.git. I did git push vepla...@git.sugarlabs.org:csndsugui/mainline.git --mirror then I got a password prompt after a Univ of Oregon notice, but my password (from vepla...@git.sugarlabs.org) would not work. Now, the server seems to have blacklisted me because I can't even connect to it anymore. Suggestions? The push URL is displayed on the mainline page, something like gitori...@git.sugarlabs.org:csndsugui/mainline.git. You must use this exact URL, with the gitorious user, not your own username, like this: git push gitori...@git.sugarlabs.org:csndsugui/mainline.git Hope that helps Morgan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
On Tue, Feb 17, 2009 at 14:47, victor victor.lazzar...@nuim.ie wrote: After a cooling off period, now the connection is not refused anymore, but still no success. I now get a 'access denied or bad command'. I am using the git push gitori...@git.sugarlabs.org:csndsugui/mainline.git command. I also tried checking if my rsa key was working by using ssh gitori...@git.sugarlabs.org -v as suggested to me and the debug messages suggest authentication to be successful. Any suggestions? Maybe deleting the project and creating it again? HTH, Tomeu - Original Message - From: Morgan Collett morgan.coll...@gmail.com To: victor victor.lazzar...@nuim.ie Cc: sugar-devel@lists.sugarlabs.org Sent: Monday, February 16, 2009 12:17 PM Subject: Re: [Sugar-devel] git.sugarlabs.org difficulties On Mon, Feb 16, 2009 at 14:02, victor victor.lazzar...@nuim.ie wrote: Hello everyone, I am trying to move my project from OLPC git to sugar GIT. I have created my account (username: vepliani), uploaded my dsa public key and then tried topush my files into mainline.git. I did git push vepla...@git.sugarlabs.org:csndsugui/mainline.git --mirror then I got a password prompt after a Univ of Oregon notice, but my password (from vepla...@git.sugarlabs.org) would not work. Now, the server seems to have blacklisted me because I can't even connect to it anymore. Suggestions? The push URL is displayed on the mainline page, something like gitori...@git.sugarlabs.org:csndsugui/mainline.git. You must use this exact URL, with the gitorious user, not your own username, like this: git push gitori...@git.sugarlabs.org:csndsugui/mainline.git Hope that helps Morgan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
I see, but now I still keep getting a ssh_exchnage_identification: Connection closed by remote host Perhaps something to ask the git sysadmin? Victor - Original Message - From: Morgan Collett morgan.coll...@gmail.com To: victor victor.lazzar...@nuim.ie Cc: sugar-devel@lists.sugarlabs.org Sent: Monday, February 16, 2009 12:17 PM Subject: Re: [Sugar-devel] git.sugarlabs.org difficulties On Mon, Feb 16, 2009 at 14:02, victor victor.lazzar...@nuim.ie wrote: Hello everyone, I am trying to move my project from OLPC git to sugar GIT. I have created my account (username: vepliani), uploaded my dsa public key and then tried topush my files into mainline.git. I did git push vepla...@git.sugarlabs.org:csndsugui/mainline.git --mirror then I got a password prompt after a Univ of Oregon notice, but my password (from vepla...@git.sugarlabs.org) would not work. Now, the server seems to have blacklisted me because I can't even connect to it anymore. Suggestions? The push URL is displayed on the mainline page, something like gitori...@git.sugarlabs.org:csndsugui/mainline.git. You must use this exact URL, with the gitorious user, not your own username, like this: git push gitori...@git.sugarlabs.org:csndsugui/mainline.git Hope that helps Morgan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
yes, I realised that and uploaded a new public key, rsa now, but to no avail. Victor - Original Message - From: Tomeu Vizoso to...@sugarlabs.org To: victor victor.lazzar...@nuim.ie Cc: sugar-devel sugar-devel@lists.sugarlabs.org Sent: Monday, February 16, 2009 12:22 PM Subject: Re: [Sugar-devel] git.sugarlabs.org difficulties On Mon, Feb 16, 2009 at 13:02, victor victor.lazzar...@nuim.ie wrote: Hello everyone, I am trying to move my project from OLPC git to sugar GIT. I have created my account (username: vepliani), uploaded my dsa public key and then tried topush my files into mainline.git. Hmm, maybe dsa keys are not accepted by that server's ssh? Regards, Tomeu I did git push vepla...@git.sugarlabs.org:csndsugui/mainline.git --mirror then I got a password prompt after a Univ of Oregon notice, but my password (from vepla...@git.sugarlabs.org) would not work. Now, the server seems to have blacklisted me because I can't even connect to it anymore. Suggestions? Thanks Victor ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
victor wrote: I did git push vepla...@git.sugarlabs.org:csndsugui/mainline.git --mirror You should be using gitorious@ rather than vepla...@. Yes, it's awkward, but it's explained somewhere on the repository page. Internally, gitorious dispatches individual users by means of ~/.ssh/authorized_keys. -- // Bernie Innocenti - http://www.codewiz.org/ \X/ Sugar Labs - http://www.sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] git.sugarlabs.org difficulties
On Tue, Feb 17, 2009 at 10:01 AM, Bernie Innocenti ber...@codewiz.org wrote: You should be using gitorious@ rather than vepla...@. Yes, it's awkward, but it's explained somewhere on the repository page. Internally, gitorious dispatches individual users by means of ~/.ssh/authorized_keys. Strange. So you cannot have 2 accounts with the same ssh key? m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel