- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-07-2019 12:44 PM
Most of the target servers (Unix/Linux/AIX)are configured to timeout of 5 mins.
before Cyberark users used to maintain connection timeout settings with their ssh client.
With PSMP connection they lost ability to do with SSH client.
we configured all PSMP servers to 20 mins timeout, but all target servers are still set to 5 mins timeout. is there a way to manage this session timeout with CyberArk settings instead of changing this sshd_config on thousands of target servers.
Thanks
07-07-2019 10:19 PM
Not sure if it is really a thing which can be done on Cyber Ark side, even if you set infinite timeout at PSMP side, it will still be governed by target machine timeout.
08-28-2019 01:15 PM
I have same question, increased the target machine timeout to 30 min but when logged in using PSMP ("ssh actualuser@targetuser@targetsystem@PSMPServer") it still closes the session just after 5 min. This is impacting 100 of users who even though they have run the session (ssh -o "ServerAliveInterval 60" actualuser@targetuser@targetsystem@PSMPServer) . Is there a solution/fix or conf changes that need to done at PSMP server let say "keep session alive" for 30 min.
09-19-2019 03:28 PM
You can do something like this since the target machine is actually being connected to by putty not ssh.
home/PSMShadowUser/.config/putty/sessions/Default%20Settings
With the following parameters:
PingInterval=0
PingIntervalSecs=10
This means that the ping will be sent every (PingInterval*60)+PingIntervalSecs which means that every PingInterval minutes + PingIntervalSecs the ping will occur.
Also, make sure that the path exists and has the right permissions for PSMShadowUser.
This is essentially the same thing we are doing in the Windows registry.
09-26-2019 01:00 PM
The client I did this with is running 10.7 \ 10.8.
10-23-2019 12:21 PM
We just found this issue with 10.10 as well. I can log directly onto a PSMP server and stay on it for extended periods of inactivity. I can SSH from that direct PSMP connection to a different endpoint and its the same. If I go through CA to get onto that same end point I get dropped after 5 minutes.
12-12-2019 06:35 AM
We've found this to work in 10.8.
# more /home/PSMShadowUser/.putty/sessions/Default%20Settings
PingInterval=0
PingIntervalSecs=60
Also, verify the client from which the connection is being established has the keepalive set (In PuTTY: Connection --> Seconds between keepalives)
02-03-2021 09:32 AM
Thanks.
It worked for us (11.3) with a location :
/home/PSMShadowUser/.config/putty/sessions/Default%20Settings
Pinginterval is in minutes, PingIntervalSecs is seconds. for example, if you want 63 secondes, this is parameter:
PingInterval=1
PingIntervalSecs=3
TCPNoDelay=1
TCPKeepalives=1Pay attention to authorisation (is you create this file as root, it will not work ).
-rw-r-----. 1 PSMShadowUser PSMShadowUser 63 Feb 3 17:44 /home/PSMShadowUser/.config/putty/sessions/Default%20Settings
regards
Antoine
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!

