No, the issue is the same. -- Nicolas Dutertry
C2 - Usage restreint De : Jean-Baptiste Onofre <[email protected]> Envoyé : mardi 29 juin 2021 09:53 À : user <[email protected]> Objet : Re: SSH session not properly closed by Karaf Hi, I guess the connexion is cleanly closed when you do: $ bin/client And then CTRL-D Right ? Regards JB Le 29 juin 2021 à 09:36, DUTERTRY Nicolas <[email protected]<mailto:[email protected]>> a écrit : Hi, After using « client » script, the tcp socket is not closed by karaf (4.3.2) and remains in CLOSE_WAIT state. The session is only closed after ssh timeout is reached. For instance with a SSH timeout set to 30 s : $ ./client "bundle:list" $ netstat | grep 8101 tcp6 0 0 localhost:8101 localhost:47844 CLOSE_WAIT $ tail karaf.log INFO | sshd-SshServer[2f716f77](port=8101)-nio2-thread-1 | ServerSessionImpl | 46 - org.apache.sshd.osgi - 2.5.1 | Session karaf@/127.0.0.1:47844<mailto:karaf@/127.0.0.1:47844> authenticated INFO | sshd-SshServer[2f716f77](port=8101)-timer-thread-1 | ServerSessionImpl | 46 - org.apache.sshd.osgi - 2.5.1 | Disconnecting(ServerSessionImpl[karaf@/127.0.0.1:47844]): SSH2_DISCONNECT_PROTOCOL_ERROR - Detected IdleTimeout after 30415/30000 ms. Do you have a fix for this issue ? Regards, -- Nicolas Dutertry Sopra HR Software - http://www.soprahr.com/<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.soprahr.com%2F&data=04%7C01%7CNicolas.Dutertry%40soprahr.com%7C7713128dbc2a4140e2d908d93ad2e8fb%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C637605500396813837%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TAwbcmU%2BBeC6i562OVXe3kyooDE5T9215gSfmR2g7r0%3D&reserved=0> C2 - Usage restreint
