How to handle custom prompts in psm-ssh session. Linux machine is configured with MFA, after the password is entered it prompts for "Verification code:" The session terminates at this point since it doesn't recognize the prompt.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

How to handle custom prompts in psm-ssh session. Linux machine is configured with MFA, after the password is entered it prompts for "Verification code:" The session terminates at this point since it doesn't recognize the prompt.

L0 Member

I have tried making changes to ShellPromptForAudit, no use. I know for CPM there is a unixpromps.ini file. Is there such for PSM?Field_Content_versions_oct20__068Vy00000X50Z8IAJ.png

4 REPLIES 4

L7 Applicator

You need to use AutoLogonSequence (assuming no logon account used or AutoLogonSequenceWithLogonAccount if a logon account needs the additional prompt added )

​

Have a look here .

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psmconnectioncomponents.htm#ConfigurePSMTelnetconnectioncomponents

​

Note the example shown is for psm-telnet but it also works for psm-ash

L4 Transporter

Do you want the user to enter the verification code, or do you want to have PAM generate it (based on a TOTP seed or similar)?

right now, I want the user to able to input the verification code. Later on might have PAM generate it

L4 Transporter

Hey @Kaj Nadarajah​ , just checking in — did you get an answer to your question?

If so, feel free to mark it as the best answer to help others in the community too. Thanks!

  • 155 Views
  • 4 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!