<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: backing up running-config.xml or  set cli config-output-format set in Panorama Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/panorama-discussions/backing-up-running-config-xml-or-set-cli-config-output-format/m-p/537985#M1466</link>
    <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/282441"&gt;@chris.maughan&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;You definitely wouldn't make to download config file with " scp &lt;A href="mailto:username@1.1.1.1:running-config.xml" target="_blank" rel="nofollow noopener noreferrer"&gt;username@1.1.1.1:running-config.xml"&lt;/A&gt;. This would be that connected SSH user will be put the same directory where the target file is place, which doesn't seems right&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even if you the exact location of the config file I don't believe there is a way you can SCP file when initiating connection from remote server to the firewall.&lt;/P&gt;
&lt;P&gt;PanOS firewall is hardened Unix-based OS, which put the connected user into custom shell is restricted access. In nutshell SCP is just establishing SSH and then perform some BASH commands, however as mentioned PanOS restricted shell does not allow the use of this&amp;nbsp; standard bash commands, which why any attempt to SCP from remote host to the firewall will fail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am afraid SCP from firewall to remote host is the only option here.&lt;/P&gt;
&lt;P&gt;Another option would be using API and schedule script to periodically export config over API -&amp;nbsp; &lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000CldVCAS" target="_blank"&gt;How to Export The Device State Using XML API - Knowledge Base - Palo Alto Networks&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 09:50:14 GMT</pubDate>
    <dc:creator>A_Astardzhiev</dc:creator>
    <dc:date>2023-04-07T09:50:14Z</dc:date>
    <item>
      <title>backing up running-config.xml or  set cli config-output-format set</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/backing-up-running-config-xml-or-set-cli-config-output-format/m-p/536903#M1447</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;very basic question however im unable to find a search function here ??&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way i can scp the runing-config.xml from the firewall. NOT export from the firewall&lt;/P&gt;
&lt;P&gt;basically im trying to scp the running-config.xml however im unable to firn the file path&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have tried "scp &lt;A href="mailto:username@1.1.1.1:running-config.xml" target="_blank"&gt;username@1.1.1.1:running-config.xml"&lt;/A&gt;&amp;nbsp;however this does not find the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 13:46:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/backing-up-running-config-xml-or-set-cli-config-output-format/m-p/536903#M1447</guid>
      <dc:creator>chris.maughan</dc:creator>
      <dc:date>2023-03-29T13:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: backing up running-config.xml or  set cli config-output-format set</title>
      <link>https://live.paloaltonetworks.com/t5/panorama-discussions/backing-up-running-config-xml-or-set-cli-config-output-format/m-p/537985#M1466</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/282441"&gt;@chris.maughan&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;You definitely wouldn't make to download config file with " scp &lt;A href="mailto:username@1.1.1.1:running-config.xml" target="_blank" rel="nofollow noopener noreferrer"&gt;username@1.1.1.1:running-config.xml"&lt;/A&gt;. This would be that connected SSH user will be put the same directory where the target file is place, which doesn't seems right&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even if you the exact location of the config file I don't believe there is a way you can SCP file when initiating connection from remote server to the firewall.&lt;/P&gt;
&lt;P&gt;PanOS firewall is hardened Unix-based OS, which put the connected user into custom shell is restricted access. In nutshell SCP is just establishing SSH and then perform some BASH commands, however as mentioned PanOS restricted shell does not allow the use of this&amp;nbsp; standard bash commands, which why any attempt to SCP from remote host to the firewall will fail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am afraid SCP from firewall to remote host is the only option here.&lt;/P&gt;
&lt;P&gt;Another option would be using API and schedule script to periodically export config over API -&amp;nbsp; &lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000CldVCAS" target="_blank"&gt;How to Export The Device State Using XML API - Knowledge Base - Palo Alto Networks&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 09:50:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/panorama-discussions/backing-up-running-config-xml-or-set-cli-config-output-format/m-p/537985#M1466</guid>
      <dc:creator>A_Astardzhiev</dc:creator>
      <dc:date>2023-04-07T09:50:14Z</dc:date>
    </item>
  </channel>
</rss>

