<?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: PSMP Public key authentication error via putty string: Server refused our key in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423923#M89615</link>
    <description>&lt;P&gt;Hi @Ani Lawrence​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check that the script is executable by running following command. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ls -l /opt/CARKpsmp/bin/psshkeys_runner.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It shluld be rwxr-xr-x and owned by root.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please run this command as root &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/CARKpsmp/bin/psshkeys_runner.sh &amp;lt;vaultuser&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it’s working, it should output the public&amp;nbsp;key and if it is failing you’ll get no output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition try to ssh to PSMP using following command &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ssh -i private_key &amp;lt;vaultuser&amp;gt;@&amp;lt;psmp-host&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also ensure the permissions are correct &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;chown psmpgw:psmpgw /etc/opt/CARKpsmp/bin/psmp_ssh_keys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;chmod 755 /etc/opt/CARKpsmp/bin/psmp_ssh_keys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;</description>
    <pubDate>Sun, 10 Aug 2025 22:56:39 GMT</pubDate>
    <dc:creator>M.Vora780263</dc:creator>
    <dc:date>2025-08-10T22:56:39Z</dc:date>
    <item>
      <title>PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423916#M89608</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm encountering an issue with a new PSMP installation. When trying to connect via SSH using public key authentication, I receive the following error:&lt;/P&gt;&lt;P&gt;Server refused our key&lt;/P&gt;&lt;P&gt;Here’s what I’ve verified so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SSH configuration appears to be correct (&lt;/LI&gt;&lt;LI&gt;PubkeyAuthentication yes&lt;/LI&gt;&lt;LI&gt;, correct file permissions, etc.).&lt;/LI&gt;&lt;LI&gt;Public key is properly configured — we are able to successfully log in using PSM with the same key.&lt;/LI&gt;&lt;LI&gt;PSMP platform and authentication settings are correctly set.&lt;/LI&gt;&lt;LI&gt;Password-based login via PSMP works without issue.&lt;/LI&gt;&lt;LI&gt;Connection string is correct and in the expected format.&lt;/LI&gt;&lt;LI&gt;Using &lt;B&gt;PuTTY version Release 0.82-1&lt;/B&gt; for the SSH connection.&lt;/LI&gt;&lt;LI&gt;SSH debug logging (&lt;/LI&gt;&lt;LI&gt;LogLevel DEBUG3&lt;/LI&gt;&lt;LI&gt;) shows:&lt;/LI&gt;&lt;LI&gt;Authentication failed for user XYZ - server refused our key&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After extensive troubleshooting  including the use of CyberArk diagnostics tools  CyberArk support suggested the issue may be related to the &lt;B&gt;operating system&lt;/B&gt;. However, we haven’t been able to identify any OS-level issues, especially since PSM-based connections work without any problems using the same credentials and keys.&lt;/P&gt;&lt;P&gt;Has anyone encountered a similar situation or have any suggestions on what else to check?&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 13:20:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423916#M89608</guid>
      <dc:creator>ALawrencee</dc:creator>
      <dc:date>2025-07-14T13:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423917#M89609</link>
      <description>&lt;P&gt;Hi @Ani Lawrence​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please check the following? Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can you please confirm that the private key file (PPK) is in the correct format for PuTTY? The PuTTY uses its own proprietary format for SSH keys, so if you’re using an OpenSSH private key format, you’ll need to convert it using PuTTYgen.&lt;/LI&gt;&lt;LI&gt;With newer OpenSSH versions older key algorithms like ssh-rsa might be deprecated or disabled by default. If your public key was generated with an older algorithm, or PuTTY is using one, the PSMP's SSH server might refuse it.&lt;/LI&gt;&lt;LI&gt;Please check your sshd_config for these parameters. You might need to explicitly add +ssh-rsa&lt;/LI&gt;&lt;LI&gt;Also check sshd_config and validate PubkeyAcceptedAlgorithms used. &lt;/LI&gt;&lt;LI&gt;Please check the /var/log/auth.log or /var/log/secure files on the target Linux server to identify more specific reasons why the SSH connection is being denied.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please also look at the following Community thread.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://community.cyberark.com/s/question/0D52J00007AQQw6SAH/receiving-error-message-server-refused-our-key-when-attempting-to-connect-to-a-linux-server-via-psmssh-converted-the-key-to-ppk-file-format-but-still-having-no-success&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 20:54:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423917#M89609</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-07-14T20:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423918#M89610</link>
      <description>&lt;UL&gt;&lt;LI&gt;Can you please confirm that the private key file (PPK) is in the correct format for PuTTY? The PuTTY uses its own proprietary format for SSH keys, so if you’re using an OpenSSH private key format, you’ll need to convert it using PuTTYgen.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using OpenSSH public key format, I cannot confirm the format of the private key as is stored on a smart card. We are able to connect using psm with it successfully&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;With newer OpenSSH versions older key algorithms like ssh-rsa might be deprecated or disabled by default. If your public key was generated with an older algorithm, or PuTTY is using one, the PSMP's SSH server might refuse it.&lt;/LI&gt;&lt;/UL&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Please check your sshd_config for these parameters. You might need to explicitly add +ssh-rsa&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;#PSMP Authentication Configuration Block End&lt;/P&gt;&lt;P&gt;PubkeyAcceptedKeyTypes +ssh-rsa&lt;/P&gt;&lt;P&gt;PubkeyAcceptedKeyTypes +ssh-rsa&lt;/P&gt;&lt;P&gt;LogLevel DEBUG3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Also check sshd_config and validate PubkeyAcceptedAlgorithms used.&lt;/LI&gt;&lt;/UL&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;&lt;P&gt;pubkeyacceptedalgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Please check the /var/log/auth.log or /var/log/secure files on the target Linux server to identify more specific reasons why the SSH connection is being denied.&lt;/LI&gt;&lt;/UL&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;&lt;P&gt;&amp;gt; &amp;lt;/PSMSSHProxyRetrievePublicSSHKeysRequest&amp;gt; &amp;lt;/RequestBase&amp;gt; &amp;lt;/Element&amp;gt; &amp;lt;/Elements&amp;gt;&lt;/P&gt;&lt;P&gt;[16/07/2025 | 08:01:37.265235] | {pid=17744} | {tid=229515313} | STATIC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| PSMP/Sessions/PSPPublicSSHKeysRetrievalSession.cpp(211)&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;::&amp;nbsp;| PSMPPS345I [a018e8b4-623c-11f0-a3eb-001dd80be7dc] Successfully retrieved [1] public SSH keys for user [XZY]&lt;/P&gt;&lt;P&gt;[16/07/2025 | 08:28:21.695843] | {pid=17744} | {tid=229515187} | P11CAPPMessage&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| PSMP/RequestResponse/APPMessage.cpp(231)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;::&amp;nbsp;| 506I Load message content after decryption: &amp;lt;Elements&amp;gt; &amp;lt;Element&amp;gt; &amp;lt;ElementType&amp;gt;PSMSSHProxyRetrievePublicSSHKeysRequest&amp;lt;/ElementType&amp;gt; &amp;lt;RequestBase&amp;gt; &amp;lt;ExecPath&amp;gt;&amp;lt;/ExecPath&amp;gt; &amp;lt;PSMSSHProxyRetrievePublicSSHKeysRequest&amp;gt; &amp;lt;SessionUUID&amp;gt;5c71b11e-6240-11f0-81b5-001dd80be7dc&amp;lt;/SessionUUID&amp;gt; &amp;lt;UserName&amp;gt;nbwhn49&amp;lt;/UserName&amp;gt; &amp;lt;/PSMSSHProxyRetrievePublicSSHKeysRequest&amp;gt; &amp;lt;/RequestBase&amp;gt; &amp;lt;/Element&amp;gt; &amp;lt;/Elements&amp;gt;&lt;/P&gt;&lt;P&gt;[16/07/2025 | 08:28:21.746203] | {pid=17744} | {tid=229515187} | STATIC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| PSMP/Sessions/PSPPublicSSHKeysRetrievalSession.cpp(211)&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;::&amp;nbsp;| PSMPPS345I [5c71b11e-6240-11f0-81b5-001dd80be7dc] Successfully retrieved [1] public SSH keys for user [XYZ]&lt;/P&gt;&lt;P&gt;[16/07/2025 | 08:32:39.980882] | {pid=17744} | {tid=229515124} | P11CAPPMessage&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| PSMP/RequestResponse/APPMessage.cpp(231)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;::&amp;nbsp;| 506I Load message content after decryption: &amp;lt;Elements&amp;gt; &amp;lt;Element&amp;gt; &amp;lt;ElementType&amp;gt;PSMSSHProxyRetrievePublicSSHKeysRequest&amp;lt;/ElementType&amp;gt; &amp;lt;RequestBase&amp;gt; &amp;lt;ExecPath&amp;gt;&amp;lt;/ExecPath&amp;gt; &amp;lt;PSMSSHProxyRetrievePublicSSHKeysRequest&amp;gt; &amp;lt;SessionUUID&amp;gt;f664da6c-6240-11f0-8f3c-001dd80be7dc&amp;lt;/SessionUUID&amp;gt; &amp;lt;UserName&amp;gt;XYZ&amp;lt;/UserName&amp;gt; &amp;lt;/PSMSSHProxyRetrievePublicSSHKeysRequest&amp;gt; &amp;lt;/RequestBase&amp;gt; &amp;lt;/Element&amp;gt; &amp;lt;/Elements&amp;gt;&lt;/P&gt;&lt;P&gt;[16/07/2025 | 08:32:40.039824] | {pid=17744} | {tid=229515124} | STATIC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| PSMP/Sessions/PSPPublicSSHKeysRetrievalSession.cpp(211)&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;::&amp;nbsp;| PSMPPS345I [f664da6c-6240-11f0-8f3c-001dd80be7dc] Successfully retrieved [1] public SSH keys for user [XYZ]&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, 16 Jul 2025 13:15:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423918#M89610</guid>
      <dc:creator>ALawrencee</dc:creator>
      <dc:date>2025-07-16T13:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423919#M89611</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is your OS version of PSMP, You are getting the error when PSMP authenticate to the the vault, right? &lt;/P&gt;&lt;P&gt;If so check the output in PSMP server, (take a snapshot for the server if needed)&lt;/P&gt;&lt;P&gt;#update-crypto-policies --show &lt;/P&gt;&lt;P&gt;#update-crypto-polices --set LEGACY then reboot the server and test it again to see if it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please log a support case so our PSMP team can assist you.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 20:25:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423919#M89611</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-08-07T20:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423920#M89612</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PSM works differently and it’s not an SSH daemon but handles the authentication process differently without the strict algorithm restrictions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is why the same key can work with PSM but fail with PSMP. The PSMP, on the other hand, relies on its&amp;nbsp; sshd configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try to enable a wider range of public key types in the&amp;nbsp;sshd_config file on the PSMP server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PubkeyAcceptedKeyTypes +ssh-rsa,rsa-sha2-256,rsa-sha2-512&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please add ssh-rsa PubkeyAcceptedAlgorithms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 09:00:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423920#M89612</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-08-08T09:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423921#M89613</link>
      <description>&lt;P&gt;Thank you but we already have that enabled and the server still rejects the key. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# PSMP Authentication Configuration Block Start&lt;/P&gt;&lt;P&gt;Match Group PSMConnectUsers&lt;/P&gt;&lt;P&gt;&amp;nbsp;AuthenticationMethods publickey,keyboard-interactive keyboard-interactive&lt;/P&gt;&lt;P&gt;&amp;nbsp;AuthorizedKeysCommand /opt/CARKpsmp/bin/psshkeys_runner.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;AuthorizedKeysCommandUser root&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# PSMP Authentication Configuration Block End&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PubkeyAcceptedAlgorithms +ssh-rsa&lt;/P&gt;&lt;P&gt;PubkeyAcceptedKeyTypes +ssh-rsa&lt;/P&gt;&lt;P&gt;LogLevel DEBUG3&lt;/P&gt;</description>
      <pubDate>Sun, 10 Aug 2025 15:51:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423921#M89613</guid>
      <dc:creator>ALawrencee</dc:creator>
      <dc:date>2025-08-10T15:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423922#M89614</link>
      <description>&lt;P&gt;The LEGACY mode short down ssh connection on the server we have to login via console to enable it back to default. &lt;/P&gt;</description>
      <pubDate>Sun, 10 Aug 2025 15:53:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423922#M89614</guid>
      <dc:creator>ALawrencee</dc:creator>
      <dc:date>2025-08-10T15:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423923#M89615</link>
      <description>&lt;P&gt;Hi @Ani Lawrence​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check that the script is executable by running following command. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ls -l /opt/CARKpsmp/bin/psshkeys_runner.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It shluld be rwxr-xr-x and owned by root.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please run this command as root &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/CARKpsmp/bin/psshkeys_runner.sh &amp;lt;vaultuser&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it’s working, it should output the public&amp;nbsp;key and if it is failing you’ll get no output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition try to ssh to PSMP using following command &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ssh -i private_key &amp;lt;vaultuser&amp;gt;@&amp;lt;psmp-host&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also ensure the permissions are correct &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;chown psmpgw:psmpgw /etc/opt/CARKpsmp/bin/psmp_ssh_keys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;chmod 755 /etc/opt/CARKpsmp/bin/psmp_ssh_keys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;</description>
      <pubDate>Sun, 10 Aug 2025 22:56:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423923#M89615</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-08-10T22:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: PSMP Public key authentication error via putty string: Server refused our key</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423924#M89616</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; &lt;B&gt;Issue Resolved&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Issue:&lt;/B&gt;&lt;/P&gt;&lt;P&gt; &lt;I&gt;“Server refused our key — unable to authenticate using PIV card, but normal password login works.”&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; &lt;B&gt;Solution Steps&lt;/B&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;B&gt;Map the public key in Active Directory:&lt;/B&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Open the user object in &lt;B&gt;Active Directory &lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;Go to the &lt;B&gt;“Attribute Editor”&lt;/B&gt; tab.&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;Locate the&lt;/LI&gt;&lt;LI&gt;telephone&lt;UL&gt;&lt;LI&gt;attribute.&lt;/LI&gt;&lt;LI&gt;Paste the &lt;B&gt;PIV card public key&lt;/B&gt; into this field under “Note” &lt;/LI&gt;&lt;LI&gt;Click &lt;B&gt;Apply&lt;/B&gt; and &lt;B&gt;OK&lt;/B&gt; to save.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;B&gt;Verify the attribute using PowerShell:&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Get-ADUser -Identity XYZ -Properties * | Format-List&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;Replace&lt;/LI&gt;&lt;LI&gt;XYZ&lt;UL&gt;&lt;LI&gt;with the actual username.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Confirm where the public key is stored — in this case, it appeared under the&lt;/LI&gt;&lt;LI&gt;info&lt;UL&gt;&lt;LI&gt;attribute.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;B&gt;Configure the vault (PVWA) to read the public key:&lt;/B&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;Navigate to:&lt;UL&gt;&lt;LI&gt;PVWA &amp;gt; System Configuration &amp;gt; Options &amp;gt; LDAP Integration &amp;gt; Profiles&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Edit the&lt;/LI&gt;&lt;LI&gt;MicrosoftADProfile.ini&lt;/LI&gt;&lt;LI&gt;Set the&lt;/LI&gt;&lt;LI&gt;UserSSHPublicKey  parameter to the attribute where the key is stored (e.g.,&lt;/LI&gt;&lt;LI&gt;info&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;B&gt;Restart relevant services:&lt;/B&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Restart the &lt;B&gt;PSMP&lt;/B&gt; and &lt;B&gt;SSH&lt;/B&gt; services to apply changes.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;B&gt;Test PIV login:&lt;/B&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Attempt authentication using the PIV card to confirm resolution.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Aug 2025 04:06:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psmp-public-key-authentication-error-via-putty-string-server/m-p/1423924#M89616</guid>
      <dc:creator>ALawrencee</dc:creator>
      <dc:date>2025-08-17T04:06:31Z</dc:date>
    </item>
  </channel>
</rss>

