<?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>Paul Brunt &#187; ssh</title>
	<atom:link href="http://www.paulbrunt.co.uk/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulbrunt.co.uk</link>
	<description>faster, better; faster, better!</description>
	<lastBuildDate>Sun, 24 Jan 2010 13:57:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SSH Key Exchange (SSH no password)</title>
		<link>http://www.paulbrunt.co.uk/2008/10/30/ssh-key-exchange-ssh-login-with-no-password/</link>
		<comments>http://www.paulbrunt.co.uk/2008/10/30/ssh-key-exchange-ssh-login-with-no-password/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 15:12:07 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Out and About]]></category>
		<category><![CDATA[Programing]]></category>
		<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh linux shell]]></category>

		<guid isPermaLink="false">http://www.paulbrunt.co.uk/?p=104</guid>
		<description><![CDATA[I&#8217;m not sure if it was just me being a bit dense or the fact that tutorials on the subject where really confusing, but I&#8217;d always struggled to get this working. So, I thought that now I&#8217;ve cracked it I&#8217;ll do my own little tutorial for others out there that may still be a little [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure if it was just me being a bit dense or the fact that tutorials on the subject where really confusing, but I&#8217;d always struggled to get this working. So, I thought that now I&#8217;ve cracked it I&#8217;ll do my own little tutorial for others out there that may still be a little bit stuck.<span id="more-104"></span></p>
<ol>
<li>The first thing you have to do is generate the keys, this is done on the machine that will be connecting from:<br />
ssh-keygen -t rsa<br />
This will generate the private and public keys need, they will be put in &#8220;~/.ssh/&#8221; by default called &#8220;id_rsa.pub&#8221;(the public key) and &#8220;id_rsa&#8221; the private key.</li>
<li>Now you need to copy this public key, &#8220;id_rsa.pub&#8221;, to the machine you will be connecting to, choose what ever method your comfortable with, ssh, ftp, smb &#8211; what ever <img src='http://www.paulbrunt.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li>Now all you need to do is add this key to the file &#8220;~/.ssh/authorized_keys2&#8243;, the easist way is:<br />
cat id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys2<br />
Then your done, you should no longer be prompted for a password when connecting.</li>
</ol>
<p>Note: if this is the first time you are connecting it will still prompt you to add the machine to known hosts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulbrunt.co.uk/2008/10/30/ssh-key-exchange-ssh-login-with-no-password/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
