<?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>Blog dot Melimato dot Com &#187; security</title>
	<atom:link href="http://blog.melimato.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.melimato.com</link>
	<description>Those things we do</description>
	<lastBuildDate>Fri, 29 Jul 2011 09:24:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How to exchange ssh keys for passwordless login</title>
		<link>http://blog.melimato.com/how-to-exchange-ssh-keys-for-passwordless-login/</link>
		<comments>http://blog.melimato.com/how-to-exchange-ssh-keys-for-passwordless-login/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 14:55:56 +0000</pubDate>
		<dc:creator>pedro</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.melimato.com/blog/?p=3</guid>
		<description><![CDATA[As I&#8217;m always using ssh, copying or rsyncing files between all my servers I find it very annoying to always have to type in my login password. To avoid that, I exchanged my ssh keys so that all the authentication is done through those keys. To achieve that simply: On the machine you want to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.melimato.com%2Fhow-to-exchange-ssh-keys-for-passwordless-login%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.melimato.com%2Fhow-to-exchange-ssh-keys-for-passwordless-login%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>As I&#8217;m always using ssh, copying or rsyncing files between all my servers I find it very annoying to always have to type in my login password. To avoid that, I exchanged my ssh keys so that all the authentication is done through those keys. To achieve that simply:</p>
<p><span id="more-3"></span></p>
<p>On the machine you want to have access from:</p>
<p>1. Generate a new key if you don&#8217;t already have one:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span></pre></div></div>

<p>2. Copy the key accross to the other server:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">cat</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>id_rsa.pub <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> user<span style="color: #000000; font-weight: bold;">@</span>target_machine <span style="color: #c20cb9; font-weight: bold;">cat</span> - <span style="color: #ff0000;">&quot;&gt;&gt;&quot;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>authorized_keys</pre></div></div>

<p>Now when you want to ssh or scp or rsync user@target_machine you won&#8217;t need to use a password any more!</p>
<div id="wherego_related"><h3>Readers who viewed this page, also viewed:</h3><ul><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/where-did-they-go-from-here/">Where did they go from here?</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://blog.melimato.com/how-to-exchange-ssh-keys-for-passwordless-login/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

