CyberArk PSM SSH Session Drop – “Server unexpectedly closed network connection”

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

CyberArk PSM SSH Session Drop – “Server unexpectedly closed network connection”

L1 Bithead

I encountered an issue related to SSH connection via CyberArk PSM.

Chronology:

  1. The user accessed server 172.xx.xx.xx via CyberArk PSM using an admin-level account.
  2. During the login/access process, the session suddenly disconnected and a popup appeared saying “CyberArk Privileged Session Manager Fatal Error – Server unexpectedly closed network connection”.
  3. After the popup, the PSM session ended (disconnected).

 

What we have confirmed:

  1. Valid password/credentials: direct SSH access to the target server was attempted and was successful.
  2. Connection and port 22 to the server established.
  3. This issue only occurs on one server, 172.xx.xx.xx (other servers with the same flow do not experience this problem).
  4. CyberArk version used: 12.6
3 REPLIES 3

L4 Transporter

Hello @Muhammad Rico Fedryan​ 

 

Just confirming did you test connection direct from PSM server to target server (172.xx.xx.xx). If not, please try to connect.

L4 Transporter

Hello @Muhammad Rico Fedryan​ 

 

Just confirming did you test connection direct from PSM server to target server (172.xx.xx.xx). If not, please try to connect.

L7 Applicator

Hi @Muhammad Rico Fedryan​ 

 

This problem also could be due the Cipher mismatch between PSM's SSH client and target *NIX host.

 

From time-to-time Linux distributions deprecate older encryption algorithms such as ssh-rsa and diffie-hellman. Because PSM 12.6 uses an older PuTTY it may not support the modern ciphers required by that specific target *NIX host.

 

On the target *NIX host, please check the supported algorithms and compare it with other working *NIX host (via PSM).

 

  • Run sshd -T | grep -E "ciphers|kexalgorithms" on target host (172.xx.xx.xx) and compare it to a working target *NIX host.

 

Also please check if the target server has PubkeyAcceptedKeyTypes excluding ssh-rsa

 

Please also go through the following KB.

 

https://community.cyberark.com/s/article/SSH-putty-failed-server-unexpectedly-closed-network-connection

 

 

Hope it helps !

  • 87 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!