Has anyone successfully created a PSM-PuTTY connection component that works? I have created one and although PuTTY will launch, it does not pass the credentials and throws an error message: "PSMPP002E:The mandatory expression is invalid."

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

Has anyone successfully created a PSM-PuTTY connection component that works? I have created one and although PuTTY will launch, it does not pass the credentials and throws an error message: "PSMPP002E:The mandatory expression is invalid."

L1 Bithead
We have followed the instruction as detailed here: https://community.cyberark.com/s/article/How-to-create-a-connection-component-for-PuTTy  
1 accepted solution

Accepted Solutions

L1 Bithead

I was able to resolve this by modifying the ClientApp parameter for the PSM connection component. Whereas the documentation advises to enter the ClientApp info as:

 

ClientApp = putty.exe -ssh "{UserName}"@"{PSMRemoteMachine}" -pw "{Passsword}" ...

 

I entered the path to the Putty executable located in the PSM Components folder. The parameter now looks like:

 

ClientApp = "C:\Program Files (x86)\CyberArk\PSM\Components\putty.exe" -ssh "{Username}"@"{Address}" -pw "{Password}"

 

Field_Content_versions_oct20__068Ht00000SB6ijIAD.png

View solution in original post

3 REPLIES 3

L5 Sessionator

Hi @Darlene Manley​ 

 

Thank you for raising this question.

 

As the community has not answered this question for some time, could you kindly share if you could resolve this issue and how?

 

While the error is likely a result of a faulty related parameter (i.e., missing/ incorrect syntax in the connection string), it is impossible to pinpoint it without the full error (e.g., PSMTrace.log will show more details, such as the Error data it referenced).

 

If the issue is still relevant afterward, I would advise raising a ticket with our Support team for further assistance.

 

Thanks,

Gil

L1 Bithead

I was able to resolve this by modifying the ClientApp parameter for the PSM connection component. Whereas the documentation advises to enter the ClientApp info as:

 

ClientApp = putty.exe -ssh "{UserName}"@"{PSMRemoteMachine}" -pw "{Passsword}" ...

 

I entered the path to the Putty executable located in the PSM Components folder. The parameter now looks like:

 

ClientApp = "C:\Program Files (x86)\CyberArk\PSM\Components\putty.exe" -ssh "{Username}"@"{Address}" -pw "{Password}"

 

Field_Content_versions_oct20__068Ht00000SB6ijIAD.png

Hi @Darlene Manley​ 

 

Thank you for the update and for sharing the solution.

I am happy to hear it is now resolved!

 

Regards,

Gil

  • 1 accepted solution
  • 25 Views
  • 3 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!