Cannot connect, status is TCP_CONNECTION_DROPPED. Connection unexpectedly closed by SSH server:

pavanyuvi
Kilo Contributor

Hi All,

When we are trying to run discovery , we are getting the below issue on classify.

Active couldn't classify.

Cannot connect, status is TCP_CONNECTION_DROPPED. Connection unexpectedly closed by SSH server:

Regards,

Pavan

7 REPLIES 7

Vini
Giga Guru

@geoffhotchkiss 

I have the same issue, did you resolved it?

@Vini- Sort of. Check out the previous replies for a bunch of possible causes. For our particular case, they wrote https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1117378 which is supposed to be fixed in Vancouver (right now at least). For now I'm manually creating credential affinities as needed.

Vini
Giga Guru

Hi @geoffhotchkiss , @tim_broberg ,

 

Hi @Meenakshi Rajes , @Manuel Stimac ,

 

We also have the same issue and we got resolved.

Discovery Error#

Cannot connect, status is TCP_CONNECTION_DROPPED. Connection unexpectedly closed by SSH server

Error Captured on the Server when trigger Discovery#

pam_unix(sshd:account): account <Account Name>  has expired (account expired)

Apr 18 2023 10:12:04 <<Server name>> sshd[12575]:fatal: Access denied for user <<cnf_mgmt>> by PAM account configuration [preauth]

Resolution: 

Executed following Command on the Target server#

chage -m 0 -M 99999 -I -1 -E -1 <<Account Name>

 

Note# above is to make sure the discovery account never expire again. then we are able to discover the server

 

Hope this Help, if so please mark it to Helpl & Solved

 

Regards,

Vinil