<?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 SCP certificate key in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264079#M51867</link>
    <description>&lt;P&gt;Hi Experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have an issue when doing backup to SCP server.&lt;/P&gt;&lt;P&gt;1. At the beginning we use RSA public key. But now we need to use ECDSA public key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I uploaded the ssh_host_ecdsa_key.pub file from SSH server, and use the command&lt;/P&gt;&lt;P&gt;add ssh hba hostname x.x.x.x public-key access-mode standalone file /home/admin/ssh_host_ecdsa_key.pub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"show ssh hba all " I can see the key is there. (I removed the RSA one, and can't see it anymore)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3. But when I am going to connect the server, it shows the error:&lt;/P&gt;&lt;P&gt;ERR_HOST_BASED_AUTH: Security issue detected.&lt;BR /&gt;Remote server identity has changed since last connection.&lt;BR /&gt;This means that either the host key has changed, or attackers are trying to steal Gaia backup (man-in-the-middle attack).&lt;BR /&gt;The type and fingerprint of the host key sent by the server are 'ecdsa-sha2-nistp256 pTLT*******2ADuzm**********************LYR9k7jU/S0'.&lt;BR /&gt;If you trust this identity, set correct host key using the command 'set ssh hba'.&lt;BR /&gt;For more details, please refer to sk164234.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked on the SSH server by&amp;nbsp;&lt;/P&gt;&lt;P&gt;ssh-keygen -lf C:\ProgramData\ssh\ssh_host_ecdsa_key.pub&lt;BR /&gt;256 SHA256:pTLT*******2ADuzm**********************LYR9k7jU/S0 nt authority\system@companya.com (ECDSA)&lt;/P&gt;&lt;P&gt;The public key is the same as in the error message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It looks Gaia still has the cached fingerprint for previous RSA pub key's fingerprint and won't accept the new one.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp;&lt;/P&gt;&lt;P&gt;set ssh hba known-host x.x.x.x public-key access-mode standalone file /home/admin/ssh_host_ecdsa_key.pub&lt;/P&gt;&lt;P&gt;looks&amp;nbsp; failed to set the new fingerprint:&lt;BR /&gt;NMHOST9999 libdb_do_transaction: connection closed during operation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I can't see the&amp;nbsp;&amp;nbsp; sk164234 , could someone let me know how to remove the previous fingerprint for RSA connection to the server?&lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2025 06:33:29 GMT</pubDate>
    <dc:creator>George136905</dc:creator>
    <dc:date>2025-12-02T06:33:29Z</dc:date>
    <item>
      <title>SCP certificate key</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264079#M51867</link>
      <description>&lt;P&gt;Hi Experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have an issue when doing backup to SCP server.&lt;/P&gt;&lt;P&gt;1. At the beginning we use RSA public key. But now we need to use ECDSA public key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I uploaded the ssh_host_ecdsa_key.pub file from SSH server, and use the command&lt;/P&gt;&lt;P&gt;add ssh hba hostname x.x.x.x public-key access-mode standalone file /home/admin/ssh_host_ecdsa_key.pub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"show ssh hba all " I can see the key is there. (I removed the RSA one, and can't see it anymore)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3. But when I am going to connect the server, it shows the error:&lt;/P&gt;&lt;P&gt;ERR_HOST_BASED_AUTH: Security issue detected.&lt;BR /&gt;Remote server identity has changed since last connection.&lt;BR /&gt;This means that either the host key has changed, or attackers are trying to steal Gaia backup (man-in-the-middle attack).&lt;BR /&gt;The type and fingerprint of the host key sent by the server are 'ecdsa-sha2-nistp256 pTLT*******2ADuzm**********************LYR9k7jU/S0'.&lt;BR /&gt;If you trust this identity, set correct host key using the command 'set ssh hba'.&lt;BR /&gt;For more details, please refer to sk164234.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked on the SSH server by&amp;nbsp;&lt;/P&gt;&lt;P&gt;ssh-keygen -lf C:\ProgramData\ssh\ssh_host_ecdsa_key.pub&lt;BR /&gt;256 SHA256:pTLT*******2ADuzm**********************LYR9k7jU/S0 nt authority\system@companya.com (ECDSA)&lt;/P&gt;&lt;P&gt;The public key is the same as in the error message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It looks Gaia still has the cached fingerprint for previous RSA pub key's fingerprint and won't accept the new one.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp;&lt;/P&gt;&lt;P&gt;set ssh hba known-host x.x.x.x public-key access-mode standalone file /home/admin/ssh_host_ecdsa_key.pub&lt;/P&gt;&lt;P&gt;looks&amp;nbsp; failed to set the new fingerprint:&lt;BR /&gt;NMHOST9999 libdb_do_transaction: connection closed during operation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I can't see the&amp;nbsp;&amp;nbsp; sk164234 , could someone let me know how to remove the previous fingerprint for RSA connection to the server?&lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 06:33:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264079#M51867</guid>
      <dc:creator>George136905</dc:creator>
      <dc:date>2025-12-02T06:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: SCP certificate key</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264160#M51879</link>
      <description>&lt;P&gt;Let me check it shortly and will update you.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 15:52:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264160#M51879</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-12-02T15:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: SCP certificate key</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264161#M51880</link>
      <description>&lt;P&gt;&lt;SPAN&gt;delete ssh hba known-host &amp;lt;HOSTNAME&amp;gt; ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 15:56:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264161#M51880</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2025-12-02T15:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: SCP certificate key</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264162#M51881</link>
      <description>&lt;P&gt;That looks right. This is more less the same&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;delete ssh hba known-host &amp;lt;HOSTNAME&amp;gt; [known-key-type &amp;lt;KEY_TYPE&amp;gt;] [known-key-fingerprint &amp;lt;SHA256_FINGERPRINT&amp;gt;]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 15:58:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264162#M51881</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-12-02T15:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: SCP certificate key</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264170#M51885</link>
      <description>&lt;P&gt;Difference is that yours deletes one entry and mine all of a given remote host.&lt;/P&gt;&lt;P&gt;Or better said yours shows all possible options and mine just one to delete all of a remote host.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 17:05:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264170#M51885</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2025-12-02T17:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: SCP certificate key</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264171#M51886</link>
      <description>&lt;P&gt;Correct. I just gave an example from the sk&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/136905"&gt;@George136905&lt;/a&gt;&amp;nbsp;referenced.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 17:08:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264171#M51886</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-12-02T17:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: SCP certificate key</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264211#M51898</link>
      <description>&lt;P&gt;Thanks very much,&lt;/P&gt;&lt;P&gt;Actually the command you mentioned didn't work:&lt;/P&gt;&lt;P&gt;delete ssh hba known-host x.x.x.x known-key-type ssh-rsa known-key-fingerprint 9VxwL/2fRsoso******************N5QTAV3MCc&lt;/P&gt;&lt;P&gt;It still prompted the same error. I believe it only remove the know host x.x.x.x (the same as "delete ssh hba known-host x.x.x.x"), there is still other place which stored the old fingerprint&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is my solution:&lt;/P&gt;&lt;P&gt;I just used the&amp;nbsp;ssh-keygen -If key.pub to find out the old fingerprint, as I have already deleted from Gaia, I need to find out in our SSH server.&lt;/P&gt;&lt;P&gt;and then use the below command to modify it and it looks working&lt;/P&gt;&lt;P&gt;&lt;EM&gt;add ssh hba hostname 10.217.201.37 public-key access-mode online fingerprint pTLT*****mLYR9k7jU/S0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am not sure if&amp;nbsp; there is any impact?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 01:01:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/SCP-certificate-key/m-p/264211#M51898</guid>
      <dc:creator>George136905</dc:creator>
      <dc:date>2025-12-05T01:01:49Z</dc:date>
    </item>
  </channel>
</rss>

