I login to the remote host (debian) by ssh and execute a command like this
ssh user@remote_host "ps -ef | grep process_name | grep -v grep | awk {'print $2'} | xargs kill -9'
then the connection breaks.
I ping the remote host and can't receive any response, like the network isn't connected. But when I restart the remote host (power off and power on), everything is ok. I promise that the process killed is only the program written by me and it's father process is "init" process (if the process run in fg and is killed that everything is ok). Is there any one who knows why it happened?