<?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: CLI commands to create a SSH profile, via the CLI? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/cli-commands-to-create-a-ssh-profile-via-the-cli/m-p/559739#M113501</link>
    <description>&lt;P&gt;First create profile in web GUI.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raido_Rattameister_0-1695835703153.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/54015i834184D7A343DF20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raido_Rattameister_0-1695835703153.png" alt="Raido_Rattameister_0-1695835703153.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Log into CLI.&lt;/P&gt;
&lt;P&gt;Run following command to change fw output from xml to set&lt;/P&gt;
&lt;P&gt;&amp;gt; set cli config-output-format set&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change to configure mode.&lt;/P&gt;
&lt;P&gt;&amp;gt; configure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run command and filter our new SSH profile.&lt;/P&gt;
&lt;P&gt;# show | match testprofile&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output gives you commands that you can use in your script to generate same profile using CLI next time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;set network profiles interface-management-profile testprofile permitted-ip 10.0.0.5&lt;BR /&gt;set network profiles interface-management-profile testprofile https no&lt;BR /&gt;set network profiles interface-management-profile testprofile ssh yes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 17:30:57 GMT</pubDate>
    <dc:creator>Raido_Rattameister</dc:creator>
    <dc:date>2023-09-27T17:30:57Z</dc:date>
    <item>
      <title>CLI commands to create a SSH profile, via the CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-commands-to-create-a-ssh-profile-via-the-cli/m-p/559649#M113479</link>
      <description>&lt;P&gt;I'm working on a Python script to change permitted-ip addresses on interfaces, uploading it to my resumé to send out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm fairly new to paloalto, however I'm familiar to some extent with firewalls, and familiar with routers/switches.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create a ssh profile via the CLI to have Python login and modify interface management profiles and add permitted-ip's, then I will test connectivity before and after the change via the script...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to create a SSH profile via the CLI,&amp;nbsp; can someone show me how to do this? Much of the documentation I've run across pints to the GUI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example a profile with username/pass :&amp;nbsp; palto/Palto123&amp;nbsp; &amp;nbsp;how would I create this via CLi?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 12:04:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-commands-to-create-a-ssh-profile-via-the-cli/m-p/559649#M113479</guid>
      <dc:creator>hfakoor2</dc:creator>
      <dc:date>2023-09-27T12:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: CLI commands to create a SSH profile, via the CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/cli-commands-to-create-a-ssh-profile-via-the-cli/m-p/559739#M113501</link>
      <description>&lt;P&gt;First create profile in web GUI.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raido_Rattameister_0-1695835703153.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/54015i834184D7A343DF20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raido_Rattameister_0-1695835703153.png" alt="Raido_Rattameister_0-1695835703153.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Log into CLI.&lt;/P&gt;
&lt;P&gt;Run following command to change fw output from xml to set&lt;/P&gt;
&lt;P&gt;&amp;gt; set cli config-output-format set&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change to configure mode.&lt;/P&gt;
&lt;P&gt;&amp;gt; configure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run command and filter our new SSH profile.&lt;/P&gt;
&lt;P&gt;# show | match testprofile&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output gives you commands that you can use in your script to generate same profile using CLI next time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;set network profiles interface-management-profile testprofile permitted-ip 10.0.0.5&lt;BR /&gt;set network profiles interface-management-profile testprofile https no&lt;BR /&gt;set network profiles interface-management-profile testprofile ssh yes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 17:30:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/cli-commands-to-create-a-ssh-profile-via-the-cli/m-p/559739#M113501</guid>
      <dc:creator>Raido_Rattameister</dc:creator>
      <dc:date>2023-09-27T17:30:57Z</dc:date>
    </item>
  </channel>
</rss>

