<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[&#x2F;etc&#x2F;ssh &#x2F;root&#x2F;.ssh not restored from config.xml after prior sshd enable?]]></title><description><![CDATA[<p dir="auto">Replacing a failed drive I installed a fresh 2.0.3.  In a perhaps, perhaps not key unfortunate move, I enabled sshd to explore a bit before restoring.  Then I did a full restore from an xml file.  Rebooted.  The old /etc/ssh and /root/.ssh remained in effect. None of the ssh keys previously known by other hosts would work, and as the config prevented any username/password combo ssh was effectively dead.    I pulled the old drive out of the trash and was able to grab the /etc/ssh and /root/.ssh directories.  Loading those onto the new drive it all worked once again.</p>
]]></description><link>https://forum.netgate.com/topic/56659/etc-ssh-root-ssh-not-restored-from-config-xml-after-prior-sshd-enable</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 06:02:16 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/56659.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 May 2013 21:23:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &#x2F;etc&#x2F;ssh &#x2F;root&#x2F;.ssh not restored from config.xml after prior sshd enable? on Tue, 28 May 2013 19:33:14 GMT]]></title><description><![CDATA[<p dir="auto">those are not kept in the config.xml file.</p>
<p dir="auto">/etc/ssh keys are re-created when the host boots up the first time.</p>
<p dir="auto">Root's authorized_keys are written out from config.xml using admin's User Manager account entry. Manual changes to files in that directory are not kept and are not needed.</p>
]]></description><link>https://forum.netgate.com/post/397799</link><guid isPermaLink="true">https://forum.netgate.com/post/397799</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Tue, 28 May 2013 19:33:14 GMT</pubDate></item></channel></rss>