<?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: Is it possible to send a cli command via ssh to Panorama ? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580422#M116256</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/295274"&gt;@gongya&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Any particular reason why you don't want to use the API? Everything else is simply an abstraction from the API itself, and personally I recommend keeping abstraction layers as limited as possible when you're automating something. If you really want to utilize SSH netmiko will handle this well enough with some slight adjustments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A really simple way to interact with the device from an automation standpoint would be to utilize pan-os-python assuming you're utilizing Python. This is again just an abstraction to the API, but it allows you to send commands the same way that you would through the CLI (additionally the API allows you to do the exact same thing).&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 17:28:07 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2024-03-14T17:28:07Z</dc:date>
    <item>
      <title>Is it possible to send a cli command via ssh to Panorama ?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580322#M116238</link>
      <description>&lt;P&gt;I sent cli commands to a remote devices via ssh on many different vendors. Can I do this on Palo Alto? or only way to automate PAN firewalls is via API ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks !!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 03:01:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580322#M116238</guid>
      <dc:creator>gongya</dc:creator>
      <dc:date>2024-03-14T03:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send a cli command via ssh to Panorama ?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580329#M116239</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;I found this:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="3"&gt;Palo doesn't have full bash CLI that is why Plink is not working&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 04:10:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580329#M116239</guid>
      <dc:creator>gongya</dc:creator>
      <dc:date>2024-03-14T04:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send a cli command via ssh to Panorama ?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580354#M116241</link>
      <description>&lt;P&gt;PAN has it's own semantics, like a Cisco. Language you use in CLI is a kind of abstraction layer above unix shell. Depending on your case, you can use many possibilities. PAN has it's own terraform providers for example.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 07:46:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580354#M116241</guid>
      <dc:creator>W_Rafalski</dc:creator>
      <dc:date>2024-03-14T07:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send a cli command via ssh to Panorama ?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580405#M116254</link>
      <description>&lt;P&gt;thanks !!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 15:03:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580405#M116254</guid>
      <dc:creator>gongya</dc:creator>
      <dc:date>2024-03-14T15:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send a cli command via ssh to Panorama ?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580422#M116256</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/295274"&gt;@gongya&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Any particular reason why you don't want to use the API? Everything else is simply an abstraction from the API itself, and personally I recommend keeping abstraction layers as limited as possible when you're automating something. If you really want to utilize SSH netmiko will handle this well enough with some slight adjustments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A really simple way to interact with the device from an automation standpoint would be to utilize pan-os-python assuming you're utilizing Python. This is again just an abstraction to the API, but it allows you to send commands the same way that you would through the CLI (additionally the API allows you to do the exact same thing).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 17:28:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580422#M116256</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2024-03-14T17:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send a cli command via ssh to Panorama ?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580427#M116259</link>
      <description>&lt;P&gt;The major reason is I do not want to embed password in the script. Also cli output is easy for me to parse.&lt;BR /&gt;I like to use ssh or putty for only connection and get the output. All the rest I will handle in python or perl.&lt;BR /&gt;I did customize the putty code to even hide the password from ps command.&lt;BR /&gt;What I did is writing a wrap in c and compile it into binary with the password in it, and only leave the binary in the server. it then is called in python or perl.&lt;/P&gt;
&lt;P&gt;thanks !!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 19:26:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/is-it-possible-to-send-a-cli-command-via-ssh-to-panorama/m-p/580427#M116259</guid>
      <dc:creator>gongya</dc:creator>
      <dc:date>2024-03-14T19:26:46Z</dc:date>
    </item>
  </channel>
</rss>

