[PSM] - Using PSM-SSH for non-English Linux
113
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:00 PM
Symptom
When trying to connect to a Linux Machine that is in a different language and using a logon account, the logon using the logon account succeeds but logging in afterwards with the main account fails.
The PSM-SSH will time out and give you the following error message:
PSMSH059E Failed to execute login sequence: Incorrect sequence defined in configuration, or network timeout occurred
The PSM-SSH will time out and give you the following error message:
PSMSH059E Failed to execute login sequence: Incorrect sequence defined in configuration, or network timeout occurred
Environment
11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)
PSM-SSH
Target - Non english prompt.
Target - Non english prompt.
Cause
Logging in using a single account works. After logging in, the language changes to non-English. When a exec su- is issued, the password prompt is being scrambled.
Using username "johndoe".
Last login: Thu Aug 24 13:08:32 2017 from 10.10.10.17
[andyg@LINUX02 ~]$ exec su - root
▒▒▒룺
Using username "johndoe".
Last login: Thu Aug 24 13:08:32 2017 from 10.10.10.17
[andyg@LINUX02 ~]$ exec su - root
▒▒▒룺
Resolution
Change the Value of the AutoLogonSequenceWithLogonAccount
Under the PVWA > Administration > Options > Connection Components > PSM-SSH
Target Settings > Client Specific > AutoLogonSequenceWithLogonAccount
Value:
\[.*\@.* ~]\$ >LANG=en_US.UTF8
\[.*\@.* ~]\$ >exec su - {Username}
Password:>{Password}
By adding LANG=en_US.UTF8, the system temporary sets the language to English and after login, it is changed back to the original language of the target system.
Under the PVWA > Administration > Options > Connection Components > PSM-SSH
Target Settings > Client Specific > AutoLogonSequenceWithLogonAccount
Value:
\[.*\@.* ~]\$ >LANG=en_US.UTF8
\[.*\@.* ~]\$ >exec su - {Username}
Password:>{Password}
By adding LANG=en_US.UTF8, the system temporary sets the language to English and after login, it is changed back to the original language of the target system.
Additional Information
Details
SYMPTOM:When trying to connect to a Linux Machine that is in a different language and using a logon account,
the logon using the logon account succeeds but logging in afterwards with the main account fails
The PSM-SSH will time out and give you the following error message:
PSMSH059E Failed to execute login sequence: Incorrect sequence defined in configuration, or network timeout occurred
PROBLEM:
Logging in using a single account works. After logging in, the language changes to non-English. When a exec su- is issued, the password prompt is being scrambled.
Using username "johndoe".
Last login: Thu Aug 24 13:08:32 2017 from 10.10.10.17
[andyg@LINUX02 ~]$ exec su - root
▒▒▒룺
SOLUTION:
Change the Value of the AutoLogonSequenceWithLogonAccount
Under the PVWA > Administration > Options > Connection Components > PSM-SSH
Target Settings > Client Specific > AutoLogonSequenceWithLogonAccount
Value:
\[.*\@.* ~]\$ >LANG=en_US.UTF8
\[.*\@.* ~]\$ >exec su - {Username}
Password:>{Password}
By adding LANG=en_US.UTF8, the system temporary sets the language to English and after login, it is changed back to the original language of the target system.