Close the channel gracefully to give the server a chance to clean up properly on its side. Bug: 565854 Change-Id: Iedda5af3b97c8321f08f7ce854274cbb30e401de Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>tags/v5.9.0.202009080501-r
@@ -242,7 +242,7 @@ public class SshdSession implements RemoteSession { | |||
@Override | |||
public void destroy() { | |||
if (channel.isOpen()) { | |||
channel.close(true); | |||
channel.close(false); | |||
} | |||
} | |||
} |