<?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: How to Connect to Your FreeNAS Server via SSH Without A Password; Password Free Logins via Public Key Authentication</title>
	<atom:link href="http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a-password-password-free-logins-via-public-key-authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a-password-password-free-logins-via-public-key-authentication/</link>
	<description>The Free Network Attached Storage OS</description>
	<lastBuildDate>Sat, 03 Dec 2011 19:57:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: rEnr3n</title>
		<link>http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a-password-password-free-logins-via-public-key-authentication/comment-page-1/#comment-1966</link>
		<dc:creator>rEnr3n</dc:creator>
		<pubDate>Fri, 29 Jul 2011 15:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnfreenas.com/blog/?p=236#comment-1966</guid>
		<description>This is my freenas structure but I still can&#039;t do passwordless login:

drwxr-xr-x 3 root wheel 512 Jul 29 09:54 /mnt
drwxr-xr-x 4 root wheel 512 Jul 29 09:55 /mnt/mount
drwx------ 4 admin admin 512 Jul 29 10:15 /mnt/mount/Data 
drwx------ 2 admin admin 512 Jul 29 10:10 /mnt/mount/Data/.ssh
-rw------- 1 admin admin 399 Jul 29 10:10 /mnt/mount/Data/.ssh/authorized_keys

I just get permission denied (publickey). But this is what I see in the log (Diagnostics&#124;Log):
SSH: Server;Ltype: Version;Remote: 192.168.2.11-xxxxx;Protocol: 2.0;Client: OpenSSH_5.8p1 Debian-1ubuntu3

xxxxx = random port number</description>
		<content:encoded><![CDATA[<p>This is my freenas structure but I still can&#8217;t do passwordless login:</p>
<p>drwxr-xr-x 3 root wheel 512 Jul 29 09:54 /mnt<br />
drwxr-xr-x 4 root wheel 512 Jul 29 09:55 /mnt/mount<br />
drwx&#8212;&#8212; 4 admin admin 512 Jul 29 10:15 /mnt/mount/Data<br />
drwx&#8212;&#8212; 2 admin admin 512 Jul 29 10:10 /mnt/mount/Data/.ssh<br />
-rw&#8212;&#8212;- 1 admin admin 399 Jul 29 10:10 /mnt/mount/Data/.ssh/authorized_keys</p>
<p>I just get permission denied (publickey). But this is what I see in the log (Diagnostics|Log):<br />
SSH: Server;Ltype: Version;Remote: 192.168.2.11-xxxxx;Protocol: 2.0;Client: OpenSSH_5.8p1 Debian-1ubuntu3</p>
<p>xxxxx = random port number</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a-password-password-free-logins-via-public-key-authentication/comment-page-1/#comment-1312</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Mon, 03 Jan 2011 21:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnfreenas.com/blog/?p=236#comment-1312</guid>
		<description>Why are you saying:

&quot;This will generate what is known as a private key and a public key. The private key must be kept save and secure and you must never distribute it in any form whatsoever. However the public key is for public consumption and this is what we will copy over to the FreeNAS server.&quot;

When the GUI of the freenas server in the SSH windows says PRIVATE KEY, but your instructions say copy public key???

-Al</description>
		<content:encoded><![CDATA[<p>Why are you saying:</p>
<p>&#8220;This will generate what is known as a private key and a public key. The private key must be kept save and secure and you must never distribute it in any form whatsoever. However the public key is for public consumption and this is what we will copy over to the FreeNAS server.&#8221;</p>
<p>When the GUI of the freenas server in the SSH windows says PRIVATE KEY, but your instructions say copy public key???</p>
<p>-Al</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael</title>
		<link>http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a-password-password-free-logins-via-public-key-authentication/comment-page-1/#comment-1021</link>
		<dc:creator>Rafael</dc:creator>
		<pubDate>Sun, 27 Jun 2010 21:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnfreenas.com/blog/?p=236#comment-1021</guid>
		<description>Hello,
Very thanks for tutorial.
I´ desesperated with rsync + ssh + without password.
Thanks</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Very thanks for tutorial.<br />
I´ desesperated with rsync + ssh + without password.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A few steps to secure a FreeNAS server &#171; Binarymist</title>
		<link>http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a-password-password-free-logins-via-public-key-authentication/comment-page-1/#comment-947</link>
		<dc:creator>A few steps to secure a FreeNAS server &#171; Binarymist</dc:creator>
		<pubDate>Mon, 05 Apr 2010 12:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnfreenas.com/blog/?p=236#comment-947</guid>
		<description>[...]  http://www.freenaskb.info/kb/?View=entry&amp;EntryID=257  http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a...  [...]</description>
		<content:encoded><![CDATA[<p>[...]  <a href="http://www.freenaskb.info/kb/?View=entry&#038;EntryID=257" rel="nofollow">http://www.freenaskb.info/kb/?View=entry&#038;EntryID=257</a>  <a href="http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a.." rel="nofollow">http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a..</a>.  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What is a good firewall for a server running FreeNAS?</title>
		<link>http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a-password-password-free-logins-via-public-key-authentication/comment-page-1/#comment-931</link>
		<dc:creator>What is a good firewall for a server running FreeNAS?</dc:creator>
		<pubDate>Sun, 21 Mar 2010 00:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnfreenas.com/blog/?p=236#comment-931</guid>
		<description>[...] Learn FreeNAS &#187; How to Connect to Your FreeNAS Server via SSH Without A Password; Password Fre... [...]</description>
		<content:encoded><![CDATA[<p>[...] Learn FreeNAS &raquo; How to Connect to Your FreeNAS Server via SSH Without A Password; Password Fre&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Heathcote</title>
		<link>http://www.learnfreenas.com/blog/2009/07/22/how-to-connect-to-your-freenas-server-via-ssh-without-a-password-password-free-logins-via-public-key-authentication/comment-page-1/#comment-919</link>
		<dc:creator>Roger Heathcote</dc:creator>
		<pubDate>Wed, 10 Mar 2010 03:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnfreenas.com/blog/?p=236#comment-919</guid>
		<description>Thanks, very helpful article.

It bears mentioning that to benefit from the improved security of using certificate based authentication you need to go into the web GUI to Services &#124; SSH and untick &quot;Enable keyboard-interactive authentication.&quot;

If you don&#039;t disable password based logins you will have improved convenience but no better security. Technically it may be even worse as there are now two attack vectors!

Also it is worth changing the default port if only as to spare your logs the constant barrage of failed brute force attempts. Strangely the command line argument for specifying a port is different between ssh (-p) and scp (-P), both choke if the wrong case is used, lord knows why that&#039;s how it is on my Ubuntu box!

Also, I found that I needed to manually create the users &quot;.ssh folder&quot; and &quot;authorized_keys&quot; file manually before the &quot;cat ~/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys&quot; line would work.

Anyway, thanks again &amp; keep up the good work :)

Roger.</description>
		<content:encoded><![CDATA[<p>Thanks, very helpful article.</p>
<p>It bears mentioning that to benefit from the improved security of using certificate based authentication you need to go into the web GUI to Services | SSH and untick &#8220;Enable keyboard-interactive authentication.&#8221;</p>
<p>If you don&#8217;t disable password based logins you will have improved convenience but no better security. Technically it may be even worse as there are now two attack vectors!</p>
<p>Also it is worth changing the default port if only as to spare your logs the constant barrage of failed brute force attempts. Strangely the command line argument for specifying a port is different between ssh (-p) and scp (-P), both choke if the wrong case is used, lord knows why that&#8217;s how it is on my Ubuntu box!</p>
<p>Also, I found that I needed to manually create the users &#8220;.ssh folder&#8221; and &#8220;authorized_keys&#8221; file manually before the &#8220;cat ~/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys&#8221; line would work.</p>
<p>Anyway, thanks again &amp; keep up the good work <img src='http://www.learnfreenas.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Roger.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

