<?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>42 &#187; bash</title>
	<atom:link href="http://www.42.mach7x.com/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.42.mach7x.com</link>
	<description>Thoughts and tips about programming with Ruby on Rails</description>
	<lastBuildDate>Fri, 06 Aug 2010 11:57:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Password &#8211; less logins and aliases with ssh</title>
		<link>http://www.42.mach7x.com/2008/02/06/password-less-logins-and-aliases-with-ssh/</link>
		<comments>http://www.42.mach7x.com/2008/02/06/password-less-logins-and-aliases-with-ssh/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 11:44:54 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/2008/02/06/password-less-logins-and-aliases-with-ssh/</guid>
		<description><![CDATA[Problem You want to be able to login to different servers with ssh, but don&#8217;t want to be using your password every time. Solution We assume that you already have installed ssh and have created ssh public keys in your local machine. Run the following in your local machine: ssh-copy-id -i ~/.ssh/id_rsa.pub user_name@remote_host If you [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You want to be able to login to different servers with ssh, but don&#8217;t want to be using your password every time.</p>
<p><srtong>Solution</strong><br />
We assume that you already have installed ssh and have created ssh public keys in your local machine.</stong></p>
<ol>
<li>Run the following in your local machine:
<pre class="code">ssh-copy-id -i ~/.ssh/id_rsa.pub user_name@remote_host</pre>
</li>
<li>If you want to add aliases in your bash profile so you don&#8217;t have to type the whole address of the remote host, edit your .bashrc and add:
<pre class="code">alias short_name="ssh user_name@remote_host"</pre>
</li>
<li>Restart your X server</li>
<li>You should be able to login with ssh without using your password by typing in your command prompt in your local machine:
<pre class="code">short_name</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2008/02/06/password-less-logins-and-aliases-with-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
