[ 
https://issues.apache.org/jira/browse/SSHD-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924969#action_12924969
 ] 

Guillaume Nodet commented on SSHD-93:
-------------------------------------

I've added a junit test in ClientTest to try reproducing the behavior but 
everything seems to work fine.
Which client to do use ? I wonder if the client is not in a state to answer the 
channel close methods, maybe the server will wait forever.

> Detect SSH_MSG_DISCONNECT
> -------------------------
>
>                 Key: SSHD-93
>                 URL: https://issues.apache.org/jira/browse/SSHD-93
>             Project: MINA SSHD
>          Issue Type: Question
>    Affects Versions: 0.4.0
>            Reporter: Russ Tennant
>            Priority: Minor
>
> Is there a way for a org.apache.sshd.server.Command to detect that a user has 
> disconnected? I'd like to shutdown my command shell when this happens. For 
> example, when a user disconnects their SSH client (e.g open ssh "~.").  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to