- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-13-2025 10:45 PM
Hello Everyone,
I am using below AutoLogonSequence for some unix account which is require privilege. But its working extremely slow. I am also facing the same scenario in WinSCP sessions. There is no network issue. Any suggestion for that?
.*\@.*~>sudo su -
.*\@.*:>{Password}
Thanks
02-17-2025 12:41 AM
It may also be worth checking the ShellPromptForAudit setting on the Connection Component. PSM will attempt to match that pattern against the prompt after going through the AutoLogonSequence process.
PromptTimeout will determine how long it waits for that prompt, and TerminateOnShellPromptFailure determines whether it allows interaction after failing to find the prompt.
If it fails to match the prompt, and TerminateOnShellPromptFailure is No, it would present as a long pause after authentication before the user can interact with the session.
You can use a regular expression testing site to check whether the prompt matches the pattern.
02-14-2025 04:51 PM
Hi @Burhan Alperen Arar
Please run the exact same commands manually in an SSH session from the PSM server. If manual execution is slow, the issue might be on the target Unix machine and if sudo su - takes time, check authentication logs on the Unix system.
Try to adjust PSM session timeout values.
Also check server performance of PSM.
Hope it helps !
02-17-2025 12:41 AM
It may also be worth checking the ShellPromptForAudit setting on the Connection Component. PSM will attempt to match that pattern against the prompt after going through the AutoLogonSequence process.
PromptTimeout will determine how long it waits for that prompt, and TerminateOnShellPromptFailure determines whether it allows interaction after failing to find the prompt.
If it fails to match the prompt, and TerminateOnShellPromptFailure is No, it would present as a long pause after authentication before the user can interact with the session.
You can use a regular expression testing site to check whether the prompt matches the pattern.
02-18-2025 09:48 PM
Hi Malhar & Henning
ShellPromptForAudit is : ".* " I assume it covers everything. So should i decrease the PromptTimeout value or change the ".*" to make it faster?
When I go directly the server and type sudo su its working fine. There is no performance issue with our psm servers as well
Thank You
02-19-2025 01:04 AM
".* " should cover everything (unless the prompt doesn't end with a space) so it's probably not that. Could you provide a little more detail on where the slowdown is?
02-19-2025 01:49 AM
Hi Henning,
Actually i gave wrong information. When I put the {Username} after sudo su its working slow. But the only sudo su - is working fine.
Customer is accepted the sudo su - 🙂
Thank you for your assists
02-27-2025 03:17 AM
Hi @Burhan Alperen Arar
Since several community members answered your question, please let us know if these solutions addressed your query.
If so, it would be great if you could mark the most helpful response as 'Select as Best' to assist other community members with similar questions.
Thank you, Liad.
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!

