<?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[Scp config via cron not working]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have installed the cron package and via that entered this into /etc/crontab:</p>
<p dir="auto">0      4      *      *      *      root    /usr/bin/scp /cf/conf/config.xml pfsense-backup@syslog-01.kb.dk:backups/config-<code>hostname</code>-<code>date +%Y%m%d</code>.xml</p>
<p dir="auto">(syslog-01.kb.dk is our logging and configuration backup server). root's id_rsa.pub is in syslog-01.kb.dk:/home/pfsense-backup/.ssh/authorized_keys and that file is chmod 600.</p>
<p dir="auto">When I run it by hand it works fine.</p>
<p dir="auto">It doesn't appear to get executed by cron at all. What am I doing wrong?</p>
<p dir="auto">Lars</p>
]]></description><link>https://forum.netgate.com/topic/75018/scp-config-via-cron-not-working</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 17:47:40 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/75018.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Oct 2014 09:49:24 GMT</pubDate><ttl>60</ttl></channel></rss>