<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Elijah's Blog &#187; git gitorious</title>
	<atom:link href="http://blogs.gnome.org/newren/tag/git-gitorious/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/newren</link>
	<description>Just another GNOME Blogs weblog</description>
	<lastBuildDate>Wed, 15 Jul 2009 04:23:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dear Lazyweb: Why don&#8217;t public ssh repository sites like me?</title>
		<link>http://blogs.gnome.org/newren/2008/09/24/dear-lazyweb-why-dont-public-ssh-repository-sites-like-me/</link>
		<comments>http://blogs.gnome.org/newren/2008/09/24/dear-lazyweb-why-dont-public-ssh-repository-sites-like-me/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 11:43:11 +0000</pubDate>
		<dc:creator>Elijah</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[git gitorious]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/newren/?p=129</guid>
		<description><![CDATA[So, a couple months back, I tried to setup a git repository on repo.or.cz.  No dice; it didn&#8217;t seem to like my ssh key and I was never able to push.  Never got a response to my email either.
I figured I&#8217;d try again with gitorious.org.  So I go over there and create [...]]]></description>
			<content:encoded><![CDATA[<p>So, a couple months back, I tried to setup a git repository on <a href="http://repo.or.cz">repo.or.cz</a>.  No dice; it didn&#8217;t seem to like my ssh key and I was never able to push.  Never got a response to my email either.</p>
<p>I figured I&#8217;d try again with <a href="http://gitorious.org">gitorious.org</a>.  So I go over there and create an account, upload my public ssh key, create a project, try to push&#8230;and am prompted for a password (yes I remembered to run ssh-add first).  While I&#8217;m no ssh expert, I have used ssh keys before to connect between systems without having to enter a password for each connection, so I&#8217;m a bit perplexed at what&#8217;s wrong.</p>
<p>Since gitorious.org allows me to remove or add additional keys myself (unlike repo.or.cz), I tried playing around with adding others (and selectively adding or removing keys from my ssh keyagent with ssh-add).  Here&#8217;s what I&#8217;m doing:<br />
<code><br />
$ ssh-keygen -t dsa -f gitorious -C "newren@gitorious.org"<br />
$ cp gitorious* ~/.ssh<br />
$ ssh-add ~/.ssh/gitorious<br />
&lt;Enter appropriate password&gt;<br />
&lt;Copy &#038; paste contents of ~/.ssh/gitorious.pub into the add ssh key thing at the gitorious.org site&gt;<br />
&lt;Periodically reload http://gitorious.org/account until my new public ssh key is shown&gt;<br />
$ git push newren@gitorious.org:eg/mainline.git<br />
newren@gitorious.org's password:<br />
&lt;Hit Ctrl-C&gt;<br />
$ ssh -v newren@gitorious.org echo hi<br />
&lt;I snipped a lot of output here&gt;<br />
debug1: SSH2_MSG_SERVICE_ACCEPT received<br />
debug1: Authentications that can continue: publickey,password<br />
debug1: Next authentication method: publickey<br />
debug1: Offering public key: /home/newren/.ssh/gitorious<br />
debug1: Authentications that can continue: publickey,password<br />
debug1: Trying private key: /home/newren/.ssh/id_rsa<br />
debug1: Trying private key: /home/newren/.ssh/id_dsa<br />
debug1: Next authentication method: password<br />
newren@gitorious.org's password:<br />
&lt;Hit Ctrl-C&gt;<br />
</code></p>
<p>I know lots of other people are using these sites without problems.  Which step or steps am I doing wrong?</p>
<p><strong>UPDATE:</strong> Many thanks for the different suggestions.  Adam G spotted the problem; my push command should have been<br />
<code>$ git push git@gitorious.org:eg/mainline.git</code><br />
instead of<br />
<code>$ git push newren@gitorious.org:eg/mainline.git</code><br />
I suspect my problem with repo.or.cz was the same thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/newren/2008/09/24/dear-lazyweb-why-dont-public-ssh-repository-sites-like-me/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
