<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5829&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Bad owner or permissions on /home/ziomario/.ssh/config]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5829</link>
		<description><![CDATA[The most recent posts in Bad owner or permissions on /home/ziomario/.ssh/config.]]></description>
		<lastBuildDate>Tue, 01 Aug 2023 16:17:23 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Bad owner or permissions on /home/ziomario/.ssh/config]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43156#p43156</link>
			<description><![CDATA[<div class="quotebox"><cite>ziomario wrote:</cite><blockquote><div><div class="codebox"><pre><code>ziomario@Z390-AORUS-PRO-DEST:~$ ssh -Y marietto@192.168.1.6</code></pre></div><p>where 192.168.1.6 is the IP assigned to the Chromebook (it is connected through the wi-fi network),but I get the following error :</p><div class="codebox"><pre><code>Bad owner or permissions on /home/ziomario/.ssh/config</code></pre></div></div></blockquote></div><p>The message probably refers to /home/ziomario/.ssh/config on the system you are connecting from, not on the destination.</p><p>My advice to anyone with a similar problem would be to try <span class="bbc">ssh -v</span> which would produce a lot more messages from ssh, which should tell you enough to solve the problem. If still stuck post *full* output here which should give us enough information to work out what the problem is.</p><p>I learnt that debuging ssh problems at work (although we had enough different OSes and ssh versions thatgetting them all to work properly took quite a while).</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Tue, 01 Aug 2023 16:17:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43156#p43156</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bad owner or permissions on /home/ziomario/.ssh/config]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43154#p43154</link>
			<description><![CDATA[<p>Thanks. There was a permission error on the workstation pc,on the directory /root. The permissions should have been root (root) : read and write : group = root : access = nothing ; other access = nothing ; but they weren&#039;t like that. I&#039;ve fixed them and the ssh error is gone away.</p>]]></description>
			<author><![CDATA[dummy@example.com (ziomario)]]></author>
			<pubDate>Mon, 31 Jul 2023 22:00:28 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43154#p43154</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bad owner or permissions on /home/ziomario/.ssh/config]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43153#p43153</link>
			<description><![CDATA[<p>Actually, there is a .ssh directory in your home folder. But the dot in front of it means it&#039;s hidden.</p><p>However, now that you&#039;ve borked the standard install by overwriting the directory, you should purge openssh-server and then re-install it.</p><div class="codebox"><pre><code>apt purge openssh-server &amp;&amp; apt install openssh-server</code></pre></div><p>Next, check the ssh directory is there:</p><div class="codebox"><pre><code>ls -al /home/ziomario</code></pre></div><p>A list of files and directories will appear, one of which will be <ins>.ssh/</ins>, note the dot in front!</p><p>The next step is checking the config file is present too:</p><div class="codebox"><pre><code>ls -al /home/ziomario/.ssh/</code></pre></div><p>Another list appears and it should contain the config file.</p><p>Report back when you&#039;ve reached this stage. <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Mon, 31 Jul 2023 21:50:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43153#p43153</guid>
		</item>
		<item>
			<title><![CDATA[Bad owner or permissions on /home/ziomario/.ssh/config]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=43152#p43152</link>
			<description><![CDATA[<p>Hello to everyone.</p><p>I&#039;ve installed Devuan 4 chimaera on my Google / Samsung Arm Chromebook. What I&#039;m trying to do is to install and configure openssh-server. I&#039;ve configured it like this one :</p><div class="codebox"><pre><code>apt install openssh-server

gedit /etc/ssh/sshd_config :

Include /etc/ssh/sshd_config.d/*.conf

PermitRootLogin yes
ChallengeResponseAuthentication no
UsePAM yes

AllowAgentForwarding yes
AllowTcpForwarding yes
X11Forwarding yes
PrintMotd no
PrintLastLog yes
AcceptEnv LANG LC_*
Subsystem	sftp	/usr/lib/openssh/sftp-server</code></pre></div><p>and then I did :</p><div class="codebox"><pre><code># service ssh restart</code></pre></div><p>I want to inform you that inside the directories /home/marietto and /root there isn&#039;t any .ssh directory. Now,on my Workstation I do :</p><div class="codebox"><pre><code>ziomario@Z390-AORUS-PRO-DEST:~$ ssh -Y marietto@192.168.1.6</code></pre></div><p>where 192.168.1.6 is the IP assigned to the Chromebook (it is connected through the wi-fi network),but I get the following error :</p><div class="codebox"><pre><code>Bad owner or permissions on /home/ziomario/.ssh/config</code></pre></div><p>How can I fix this error ? I tried different solutions like this :</p><div class="codebox"><pre><code>mkdir /home/marietto/.ssh
chmod 700 /home/marietto/.ssh
chmod 600 /home/marietto/.ssh/*</code></pre></div><p>but it didn&#039;t work. I want also inform you that I&#039;m able to connect to the ssh server if I do :</p><div class="codebox"><pre><code>ssh -Y marietto@192.168.1.6</code></pre></div><p>while I stay on the Chromebook.</p>]]></description>
			<author><![CDATA[dummy@example.com (ziomario)]]></author>
			<pubDate>Mon, 31 Jul 2023 20:35:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=43152#p43152</guid>
		</item>
	</channel>
</rss>
