<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Unattended SSH login / public key authorization / ssh automatic login</title>
	<atom:link href="http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:29:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ken Gribble</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-14487</link>
		<dc:creator>Ken Gribble</dc:creator>
		<pubDate>Mon, 10 Jan 2011 19:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-14487</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-821&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-821&quot; rel=&quot;nofollow&quot;&gt; Marius Gedminas &lt;/a&gt; :&lt;/strong&gt;Or set a passphrase on the SSH key, and then use ssh-add once per session to add it to ssh-agent, so that you don’t have to type it for every ssh invocation. ... &lt;/blockquote&gt;

I agree with Marius. I&#039;ve seen public keys with no passwords cause a world wide break-in on more than a dozen important machines. I always advise using a password, then some key management system like ssh-add.</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-821"><p>
<strong><a href="#comment-821" rel="nofollow"> Marius Gedminas </a> :</strong>Or set a passphrase on the SSH key, and then use ssh-add once per session to add it to ssh-agent, so that you don’t have to type it for every ssh invocation. &#8230; </p></blockquote>
<p>I agree with Marius. I&#8217;ve seen public keys with no passwords cause a world wide break-in on more than a dozen important machines. I always advise using a password, then some key management system like ssh-add.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Wiltshire</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-12164</link>
		<dc:creator>Daniel Wiltshire</dc:creator>
		<pubDate>Sat, 30 Oct 2010 12:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-12164</guid>
		<description>Great article, ran the commands on my Mac to connect to my Ubuntu Server. I will store the key on a flash drive so I can use it anywhere with the right utilities! Like the site, and the smiley face at the bottom left of site! :P</description>
		<content:encoded><![CDATA[<p>Great article, ran the commands on my Mac to connect to my Ubuntu Server. I will store the key on a flash drive so I can use it anywhere with the right utilities! Like the site, and the smiley face at the bottom left of site! <img src='http://ubuntu-tutorials.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michiel</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-10412</link>
		<dc:creator>michiel</dc:creator>
		<pubDate>Thu, 28 Jan 2010 18:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-10412</guid>
		<description>sorry, this command of course:

$ chmod 750 /home/michiel</description>
		<content:encoded><![CDATA[<p>sorry, this command of course:</p>
<p>$ chmod 750 /home/michiel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michiel</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-10411</link>
		<dc:creator>michiel</dc:creator>
		<pubDate>Thu, 28 Jan 2010 18:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-10411</guid>
		<description>I just like to add that your home directory on the remote machine (the SSH server) has to be at least as closed as chmod 755. In my case I did simply this and then everything finally worked (macosx client to Linux server):

$ chmod 750</description>
		<content:encoded><![CDATA[<p>I just like to add that your home directory on the remote machine (the SSH server) has to be at least as closed as chmod 755. In my case I did simply this and then everything finally worked (macosx client to Linux server):</p>
<p>$ chmod 750</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lonny27</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-9302</link>
		<dc:creator>lonny27</dc:creator>
		<pubDate>Fri, 24 Jul 2009 12:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-9302</guid>
		<description>that dame thing swallowed the angle brackets... 
 
Host &lt;hostname&gt; 
IdentityFile ~/.ssh/my_id 
 
where &lt;hostname&gt; is this host you copied the public key to.  </description>
		<content:encoded><![CDATA[<p>that dame thing swallowed the angle brackets&#8230; </p>
<p>Host &amp;lt;hostname&amp;gt;<br />
IdentityFile ~/.ssh/my_id </p>
<p>where &amp;lt;hostname&amp;gt; is this host you copied the public key to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lonny27</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-9301</link>
		<dc:creator>lonny27</dc:creator>
		<pubDate>Fri, 24 Jul 2009 12:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-9301</guid>
		<description>I&#039;m missing something here. If you&#039;ve create a new key e.g. my_id / my_id.pub with no password set, you need to create a file &#039;config&#039; in ~/.ssh to get this working (at least in 8.04, 8.10, 9.04)

Host 
IdentityFile ~/.ssh/my_id

where  is this host you copied the public key to.</description>
		<content:encoded><![CDATA[<p>I&#8217;m missing something here. If you&#8217;ve create a new key e.g. my_id / my_id.pub with no password set, you need to create a file &#8216;config&#8217; in ~/.ssh to get this working (at least in 8.04, 8.10, 9.04)</p>
<p>Host<br />
IdentityFile ~/.ssh/my_id</p>
<p>where  is this host you copied the public key to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-7849</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Fri, 13 Feb 2009 15:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-7849</guid>
		<description>Thanks, you&#039;ve been very clear and your explanation very useful, thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks, you&#8217;ve been very clear and your explanation very useful, thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Len</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-5765</link>
		<dc:creator>Len</dc:creator>
		<pubDate>Wed, 10 Sep 2008 13:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-5765</guid>
		<description>To actually log in on many linux systems you must include the private key when you invoke your ssh session:

ssh -i ~/.ssh/publickeyname -X username@system

The -i means include the key
the ~ means find this in my home folder (typically /user/username)
The .ssh is a hidden file that contains your keys after you generate them.
The -X means transfer X windows to the new session and is optional.  It allows you to run graphics or gui programs over the connection if you want to.
The user@system is your user id on the remote system and the name of that system.
/Len
WT6G</description>
		<content:encoded><![CDATA[<p>To actually log in on many linux systems you must include the private key when you invoke your ssh session:</p>
<p>ssh -i ~/.ssh/publickeyname -X username@system</p>
<p>The -i means include the key<br />
the ~ means find this in my home folder (typically /user/username)<br />
The .ssh is a hidden file that contains your keys after you generate them.<br />
The -X means transfer X windows to the new session and is optional.  It allows you to run graphics or gui programs over the connection if you want to.<br />
The user@system is your user id on the remote system and the name of that system.<br />
/Len<br />
WT6G</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirrus</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-3554</link>
		<dc:creator>Kirrus</dc:creator>
		<pubDate>Fri, 25 Jan 2008 09:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-3554</guid>
		<description>Just apply the authoried key to whatever user you want to login as on the remote system, so for example, if I&#039;m &quot;Kirrus&quot; on my machine, and I want to be &quot;fred&quot; on the remote machine, I&#039;d do:
scp ~/.ssh/id_dsa.pub fred@myserver.com:/home/fred/</description>
		<content:encoded><![CDATA[<p>Just apply the authoried key to whatever user you want to login as on the remote system, so for example, if I&#8217;m &#8220;Kirrus&#8221; on my machine, and I want to be &#8220;fred&#8221; on the remote machine, I&#8217;d do:<br />
scp ~/.ssh/id_dsa.pub <a href="mailto:fred@myserver.com">fred@myserver.com</a>:/home/fred/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernando</title>
		<link>http://ubuntu-tutorials.com/2007/02/05/unattended-ssh-login-public-key-ssh-authorization-ssh-automatic-login/#comment-829</link>
		<dc:creator>Fernando</dc:creator>
		<pubDate>Tue, 06 Nov 2007 06:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=266#comment-829</guid>
		<description>Nice guide.

however, I find some information is missing.

What happens if I&#039;m
joe@localhost in the local machine, but I want to log-in as &quot;johndoe@ssh.somehost.com&quot; ?

All the examples I&#039;ve seen assume that username is the same on both the local system and the remote ssh system.

Or isn&#039;t that the case?

Best
FC</description>
		<content:encoded><![CDATA[<p>Nice guide.</p>
<p>however, I find some information is missing.</p>
<p>What happens if I&#8217;m<br />
joe@localhost in the local machine, but I want to log-in as &#8220;johndoe@ssh.somehost.com&#8221; ?</p>
<p>All the examples I&#8217;ve seen assume that username is the same on both the local system and the remote ssh system.</p>
<p>Or isn&#8217;t that the case?</p>
<p>Best<br />
FC</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 2/6 queries in 0.004 seconds using disk: basic
Object Caching 313/314 objects using disk: basic

Served from: ubuntu-tutorials.com @ 2012-02-10 00:16:33 -->
