[PSM] - SSH putty failed - server unexpectedly closed network connection

[PSM] - SSH putty failed - server unexpectedly closed network connection

245
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:57 PM


Symptom


PSM-SSH unable to connect to the target. Session closes.

Using PuTTY we get "Server unexpected closed network connection"

 


Environment


N/A;12.2 PSM
PuTTY 0.70


Cause


Target configuration is not compatible with the PuTTY version 0.70.

 


Resolution


Backup the sshd_config file and do the following: 

cd /etc/ssh 
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key 
vi /etc/ssh/sshd_config 
Uncomment this line: 
HostKey /etc/ssh/ssh_host_dsa_key 
chgrp ssh_keys ssh_host_dsa_key 
service sshd restart 
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000sutCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail