Scheduled Log Export doesn't accept new SSH host key

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Scheduled Log Export doesn't accept new SSH host key

L0 Member

Hi everyone,

today I reinstalled our syslog server which we use to archive the traffic logs of our PA-3020s (amongst some other things) and didn't import the old server's ssh host keys.

After updating the configuration for the Scheduled Log Export in the GUI I clicked the "Test SCP Server Connection" button and got the following message:

test scp error.png

Even though it says...

test scp error2.png

... after confirmation, I keep getting the first message again and again when I try to test the SCP server connection.

Using the "delete user-file ssh-known-hosts user username all" command in the CLI also didn't solve the problem. On the other hand, doing a "scp export [...]" to the new syslog server via the CLI is working fine.

Has anyone of you been having the same issue and/or an idea what I could do to fix this?

Thanks in advance and best regards!

- Anne

PS: We are currently running PAN-OS 5.0.10

1 REPLY 1

L0 Member

Okay, I think I somehow solved the issue. This is what I did:

  1. Updated PAN-OS 5.0.10 to PAN-OS 5.0.11. After this, the problem was still there, so I'm just including this step here for the sake of completeness. Smiley Wink
  2. In the dialog where you add the Scheduled Log Export job I replaced the hostname of our syslog server with its IP address.
  3. I got a similar message like the one above, telling me that the host key changed and "SOMEONE MAY BE DOING SOMETHING NASTY" (sorry, don't have a screenshot) and asking if I wanted to accept the new key.
  4. After confirmation, the test of the SCP server connection started working.
  5. Then I replaced the IP adress with the hostname again and the export still worked! Smiley Happy
  • 3603 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!