<?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: What is causing access denied when attempting seamless connection through PSMP in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415990#M86584</link>
    <description>&lt;P&gt;Hi @John Evans​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try manually login to target host using target account and if that works, it will confirm the issue with PSMP authentication. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please check that AllowUsers or DenyUsers parameters in /etc/ssh/sshd_confi are not restricting access for target account. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2025 11:40:30 GMT</pubDate>
    <dc:creator>M.Vora780263</dc:creator>
    <dc:date>2025-03-14T11:40:30Z</dc:date>
    <item>
      <title>What is causing access denied when attempting seamless connection through PSMP</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415988#M86582</link>
      <description>&lt;P&gt;We have a Rehat 8 PSMP server, which was patched. Following reboot it had issues with the SSSD service and was unable to connect to AD and was showing disconnected in the vault.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following updates to SSSD config and re-creating the cred files for the psmpgwuser, psmpadbridgeserveruser &amp;amp; psmpappuser. The PSMP is now showing connected in cyberArk and talking to the vault successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when initiating a seamless connection using Putty in the below format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;vaultUsername&amp;gt;@&amp;lt;account&amp;gt;@&amp;lt;dest ip&amp;gt;@&amp;lt;PSMP IP&amp;gt; &lt;/P&gt;&lt;P&gt;the login fails with "access denied".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The vault user in use has rights, and shows no violations in privateArk when authenticating so the auth attempt failure seems to be before the vault auth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only information we have is the /var/log/secure log, which shows the below entries when the login prompt appears for the user:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mar 13 17:36:04 psmp1 sshd[62154]: debug1: userauth-request for user vaultuser@cgd.app.lnx.usr#domain.net@172.1.1.1 service ssh-connection method none [preauth]&lt;/P&gt;&lt;P&gt;Mar 13 17:36:05 psmp1 sshd[62154]: Invalid user vaultuser@cgd.app.lnx.usr#domain.net@172.1.1.1 from 198.1.1.1 port 54283&lt;/P&gt;&lt;P&gt;Mar 13 17:36:05 psmp1 sshd[62154]: debug1: PAM: initializing for "vaultuser@cgd.app.lnx.usr#domain.net@172.1.1.1"&lt;/P&gt;&lt;P&gt;Mar 13 17:36:07 psmp1 sshd[62154]: Failed none for invalid user vaultuser@cgd.app.lnx.usr#domain.net@172.1.1.1 from 198.1.1.1 port 54283 ssh2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After entering the requested password, the below messages then appear:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mar 13 17:36:56 psmp1 sshd[62154]: debug1: userauth-request for user vaultuser@cgd.app.lnx.usr#domain.net@172.1.1.1 service ssh-connection method password [preauth]&lt;/P&gt;&lt;P&gt;Mar 13 17:36:59 psmp1 sshd[62154]: Failed password for invalid user vaultuser@cgd.app.lnx.usr#domain.net@172.1.1.1 from 198.1.1.1 port 54283 ssh2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone suggest where the issue may lie here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 18:25:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415988#M86582</guid>
      <dc:creator>John_Evans78</dc:creator>
      <dc:date>2025-03-13T18:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing access denied when attempting seamless connection through PSMP</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415989#M86583</link>
      <description>&lt;P&gt;Are there any security settings in the sshd_config file that prevents remote logon&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 09:35:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415989#M86583</guid>
      <dc:creator>RobertS_Cyberark</dc:creator>
      <dc:date>2025-03-14T09:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing access denied when attempting seamless connection through PSMP</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415990#M86584</link>
      <description>&lt;P&gt;Hi @John Evans​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try manually login to target host using target account and if that works, it will confirm the issue with PSMP authentication. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please check that AllowUsers or DenyUsers parameters in /etc/ssh/sshd_confi are not restricting access for target account. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 11:40:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415990#M86584</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-03-14T11:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing access denied when attempting seamless connection through PSMP</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415991#M86585</link>
      <description>&lt;P&gt;thanks both, We've tested the target account on a separate PSMP which works without issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have the below in the sshd_config which has been copied from a working server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;AllowGroups PSMConnectUsers proxymng root user1 user2 user3 ansible cgd.sva.lnx.adm&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# override default of no subsystems&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Subsystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sftp&amp;nbsp;&amp;nbsp;/usr/libexec/openssh/sftp-server&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# Example of overriding settings on a per-user basis&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;#Match User anoncvs&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;X11Forwarding no&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AllowTcpForwarding no&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PermitTTY no&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ForceCommand cvs server&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# PSMP Authentication Configuration Block Start&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Match Group PSMConnectUsers&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;AuthenticationMethods publickey,keyboard-interactive keyboard-interactive&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;AuthorizedKeysCommand /opt/CARKpsmp/bin/psshkeys_runner.sh&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;AuthorizedKeysCommandUser root&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;# PSMP Authentication Configuration Block End&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems for whatever reason the account being used to login is not found in the PSMPConnectUsers group when it logs in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Mar 14 13:34:17 fb1pcybpmp17 sshd[5871]: debug3: checking match for 'Group PSMConnectUsers' user user@cgd.sva.lnx.adm#domain@172.1.1.1 host 198.1.2.3 addr 198.1.2.3 laddr 198.1.2.3 lport 22&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Mar 14 13:34:17 fb1pcybpmp17 sshd[5871]: debug1: Can't match group at line 147 because user user@cgd.sva.lnx.adm#domain@172.1.1.1 does not exist&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Mar 14 13:34:17 fb1pcybpmp17 sshd[5871]: debug3: match not found&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Mar 14 13:34:17 fb1pcybpmp17 sshd[5871]: Invalid user user@cgd.sva.lnx.adm#domain@172.1.1.1 from 198.1.2.3 port 61753&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 08:31:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415991#M86585</guid>
      <dc:creator>John_Evans78</dc:creator>
      <dc:date>2025-03-17T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing access denied when attempting seamless connection through PSMP</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415992#M86586</link>
      <description>&lt;P&gt;Hi, can you check if &lt;B&gt;PermitEmptyPassword&lt;/B&gt;s value has been changes. This may affect PSMConnectuser&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 10:08:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415992#M86586</guid>
      <dc:creator>Somidi_Vamshi</dc:creator>
      <dc:date>2025-03-17T10:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing access denied when attempting seamless connection through PSMP</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415993#M86587</link>
      <description>&lt;P&gt;Hi Somidi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is set as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# To disable tunneled clear text passwords, change to no here!&lt;/P&gt;&lt;P&gt;#PasswordAuthentication yes&lt;/P&gt;&lt;P&gt;PermitEmptyPasswords &lt;B&gt;no&lt;/B&gt;&lt;/P&gt;&lt;P&gt;PasswordAuthentication yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the same setting as on another server, which seems to be working as expected.&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>Mon, 17 Mar 2025 10:21:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415993#M86587</guid>
      <dc:creator>John_Evans78</dc:creator>
      <dc:date>2025-03-17T10:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing access denied when attempting seamless connection through PSMP</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415994#M86588</link>
      <description>&lt;P&gt;Hello @John Evans​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you received an answer to your question? If so, we kindly encourage you to share it with us.&lt;/P&gt;&lt;P&gt;Your insights could be valuable to other community members in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, Isar.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 08:08:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/what-is-causing-access-denied-when-attempting-seamless/m-p/1415994#M86588</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-04-08T08:08:05Z</dc:date>
    </item>
  </channel>
</rss>

