<?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: why &amp;quot;set ssh service-restart mgmt&amp;quot; reboots PA-220 with 8.1.13? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/325111#M82942</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/132790"&gt;@Ambidexter6&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Can you get that to actually reproduce at all? It's possible that you may have found a bug in 8.1.13, but I can't get it to reproduce on a VM-50. If you can actually get it to reproduce, the only fix is getting support to validate the issue and raising it with the engineering team to get fixed in a future release.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 02:25:44 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2020-04-28T02:25:44Z</dc:date>
    <item>
      <title>why "set ssh service-restart mgmt" reboots PA-220 with 8.1.13?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/324676#M82926</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My PA-220's needed some SSH changes. After these were committed locally, I ran the&amp;nbsp;&lt;BR /&gt;"set ssh service-restart mgmt" command, as the manual says, in run mode.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The firewall pings for about 30 seconds, then reboots. I'm using 8.1.13.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why does it reboot? How can I get around it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have had a ticket in for a week, and the lady working the ticket doesn't respond.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ambi&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 23:05:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/324676#M82926</guid>
      <dc:creator>Ambidexter6</dc:creator>
      <dc:date>2020-04-23T23:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: why "set ssh service-restart mgmt" reboots PA-220 with 8.1.13?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/325111#M82942</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/132790"&gt;@Ambidexter6&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Can you get that to actually reproduce at all? It's possible that you may have found a bug in 8.1.13, but I can't get it to reproduce on a VM-50. If you can actually get it to reproduce, the only fix is getting support to validate the issue and raising it with the engineering team to get fixed in a future release.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 02:25:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/325111#M82942</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2020-04-28T02:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: why "set ssh service-restart mgmt" reboots PA-220 with 8.1.13?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/325113#M82943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would I COULDN'T get it to happen!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've changed about 50 of our 60 firewalls over the last few days. They all do it, except in two cases the restart seemed to happen but it just left the SSH process inaccessible - so I had to reboot it! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In one case, it seemed the process didn't need to be restarted...after a day or so, it seemed to not have any issue and the changes were in place. But a 2% success rate isn't a good thing...especially since I (nor Palo) can explain why one worked and 2 killed the SSH process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also just don't get why there's no way to restart the process or push the SSH changes via Panorama. It just doesn't make sense. How is that "next generation"? It sounds more like "last century"!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;And there's no version of 8.x.x. that will allow me to change the Key Exchange protocol? I need 9.0 or 9.1? That's just idiotic. I just upgraded all of these to 8.1.13 like 2 months ago, so we're not going to 9.x!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a HA pair of 5520s and a single 5520 which I'll try this on. It may work, or totally crash. It's anyone's guess!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ambi&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 03:03:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/325113#M82943</guid>
      <dc:creator>Ambidexter6</dc:creator>
      <dc:date>2020-04-28T03:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: why "set ssh service-restart mgmt" reboots PA-220 with 8.1.13</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/340434#M85447</link>
      <description>&lt;P&gt;I am seeing this same issue on 8.1.13 but with PA-200's.&amp;nbsp; Any work around for this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 23:16:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/340434#M85447</guid>
      <dc:creator>CKinsey</dc:creator>
      <dc:date>2020-07-23T23:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: why "set ssh service-restart mgmt" reboots PA-220 with 8.1.13</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/340516#M85454</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I needed to do the CLI changes to SSH to address audit vulnerabilities. I was able to change settings, but not the KEX protocol. This key exchange protocol can't be changed until 9.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Palo says they have a fix for the rebooting issue. Unfortunately, their fix was to use a new OS, which wasn't in the cards for us.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Then, it occurred to me how we might fix this.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;We normally disable telnet, and use SSH, as I expect most people do. The problem, according to Palo, was the PA220 (and perhaps 200) only had one key for SSH because that made reboots faster (see below). I believe it was that I was using SSH when I restarted the service that was an issue. A reboot was need to recreate the SSH key. The reboot was forced because the existing SSH session couldn't find a good SSH key, so the service tried to restart 6 times or so, then forced the reboot when the service failed to start.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;So, what I decided to do was enable telnet, then telnet into our 220s, exit any SSH sessions, apply the SSH CLI changes, commit them, then restart the SSH service. I could then SSH into the units with the new SSH settings. I then disabled telnet again.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;This seems to restart the service OK and not reboot. This issue isn't a problem with the PA500 and above (like our 5220s), because they all have multiple SSH keys.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So try this on one of your firewalls, and see how it goes!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the info from my ticket:&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;"Our Engineering team has an update on the Root cause of the issue.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;sshd_config file has a list of sshd keys that the daemon needs to start with. The list of keys are read from the config file and those file are then read from the filesystem&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;In 8.0 and earlier 8.1 releases slower platforms like 200, 500 and 800 series used to start sshd service with 6 keys). But we later realized that this was slowing the login in time. So in some maintenance release of 8.1 we reduced the number of keys from 6 to 1. This increased the log in times for all the slower platforms noticeably.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;When we upgraded from earlier version having 6 keys to a newer version having just 1 key what happened was that the remaining 5 keys were never deleted from cryptod keystore. Having 5 keys in cryptod and never using them is not an issue in itself. But the problem happened when we changed the default host key.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Now, the code that does all this changes checked if the new default host key (ecdsa 256 in this case) was present in cryptod and since it was present, it did not generate that key, and more importantly it did not create a key file which sshd daemon reads during startup. So what happened was that when sshd tried to start it could not find any keys to start with and did not start. That's why it kept on failing and after trying few times, the device rebooted.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;When the device rebooted, a script that checks ssh keys in cryptod and adds the correct key files to filesystem ran and it added all that was necessary for sshd daemon to start. That's why sshd started properly after reboot.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;We have a fix for this and it should resolve this issue from happening in future."&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;--------------------&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 13:13:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/340516#M85454</guid>
      <dc:creator>Ambidexter6</dc:creator>
      <dc:date>2020-07-24T13:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: why "set ssh service-restart mgmt" reboots PA-220 with 8.1.13</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/340726#M85481</link>
      <description>&lt;P&gt;Thanks for a lot for giving us update on this issue.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jul 2020 18:58:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/340726#M85481</guid>
      <dc:creator>MP18</dc:creator>
      <dc:date>2020-07-26T18:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: why "set ssh service-restart mgmt" reboots PA-220 with 8.1.13</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/340851#M85520</link>
      <description>&lt;P&gt;This is super helpful and I appreciate you sharing the information.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 14:28:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/why-quot-set-ssh-service-restart-mgmt-quot-reboots-pa-220-with-8/m-p/340851#M85520</guid>
      <dc:creator>CKinsey</dc:creator>
      <dc:date>2020-07-27T14:28:07Z</dc:date>
    </item>
  </channel>
</rss>

