<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Daemon on Details...</title>
    <link>https://www.deepreflect.net/tags/daemon/</link>
    <description>Recent content in Daemon on Details...</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>Copyright © 2003 - 2026 Leonardo Rizzi</copyright>
    <lastBuildDate>Tue, 30 Jun 2026 03:28:29 +0200</lastBuildDate>
    <atom:link href="https://www.deepreflect.net/tags/daemon/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>.ssh - Permission</title>
      <link>https://www.deepreflect.net/2010/09/09/ssh-permission/</link>
      <pubDate>Thu, 09 Sep 2010 23:24:41 +0000</pubDate>
       <guid isPermaLink="false">http://blog.deepreflect.net/?p=946</guid> 
      <description>&lt;p&gt;If any of the files (or directories leading up to the files) have permissions set too loose, the connection will fail. Permission errors may be logged on the server side by the sshd(8) daemon.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Authentication refused: bad ownership or modes for directory …&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;In most cases, potential permission problems can be solved by restricting down access to the SSH configuration files. Permission changes to the home directory might be needed, though restricted rights may break other things.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>If any of the files (or directories leading up to the files) have permissions set too loose, the connection will fail. Permission errors may be logged on the server side by the sshd(8) daemon.</p>
<p><code>Authentication refused: bad ownership or modes for directory …</code></p>
<p>In most cases, potential permission problems can be solved by restricting down access to the SSH configuration files. Permission changes to the home directory might be needed, though restricted rights may break other things.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>server$ chmod go-w ~/
</span></span><span style="display:flex;"><span>server$ chmod 700 ~/.ssh
</span></span><span style="display:flex;"><span>server$ chmod 600 ~/.ssh/authorized_keys
</span></span></code></pre></div>]]></content:encoded>
    </item>
  </channel>
</rss>
