<?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: Script for pulling configuration in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/script-for-pulling-configuration/m-p/6485#M178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://live.paloaltonetworks.com/u1/28737"&gt;abhishek.alleti@kronos.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following script did the trick for me:&lt;/P&gt;&lt;P&gt;user1@ubuntuBOX189:~$ cat show_config.sh&lt;/P&gt;&lt;P&gt;#! /bin/bash&lt;/P&gt;&lt;P&gt;ssh -t -t admin@10.66.18.31 &amp;lt;&amp;lt; EOF&lt;/P&gt;&lt;P&gt;set cli pager off&lt;/P&gt;&lt;P&gt;show config running&lt;/P&gt;&lt;P&gt;quit&lt;/P&gt;&lt;P&gt;EOF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it works for you&lt;/P&gt;&lt;P&gt;-Chetan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2014 21:06:29 GMT</pubDate>
    <dc:creator>bat</dc:creator>
    <dc:date>2014-07-24T21:06:29Z</dc:date>
    <item>
      <title>Script for pulling configuration</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/script-for-pulling-configuration/m-p/6484#M177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can someone help me with creating a non interactive script which logs in to the device and pulls configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this, but it hangs after passing the password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ssh &amp;lt;username&amp;gt;@&amp;lt;firewall_name&amp;gt; "show config running"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It runs fine when doing it interactively on putty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 20:41:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/script-for-pulling-configuration/m-p/6484#M177</guid>
      <dc:creator>abhishek_alleti</dc:creator>
      <dc:date>2014-07-24T20:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Script for pulling configuration</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/script-for-pulling-configuration/m-p/6485#M178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://live.paloaltonetworks.com/u1/28737"&gt;abhishek.alleti@kronos.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following script did the trick for me:&lt;/P&gt;&lt;P&gt;user1@ubuntuBOX189:~$ cat show_config.sh&lt;/P&gt;&lt;P&gt;#! /bin/bash&lt;/P&gt;&lt;P&gt;ssh -t -t admin@10.66.18.31 &amp;lt;&amp;lt; EOF&lt;/P&gt;&lt;P&gt;set cli pager off&lt;/P&gt;&lt;P&gt;show config running&lt;/P&gt;&lt;P&gt;quit&lt;/P&gt;&lt;P&gt;EOF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it works for you&lt;/P&gt;&lt;P&gt;-Chetan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 21:06:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/script-for-pulling-configuration/m-p/6485#M178</guid>
      <dc:creator>bat</dc:creator>
      <dc:date>2014-07-24T21:06:29Z</dc:date>
    </item>
  </channel>
</rss>

