Do not know whether people have also encountered such a situation, when we use Xshell to create a session to connect to the remote host, the session window shows normal operation, once stopped the computer operation, after a period of time all sessions will be automatically closed and will return to the local Xshell.
The main reasons for a session disconnect are: Your computer is in a sleep state, there may be a lack of power to your network interface card (NIC) so the network is disconnected, so there is no network connection and the Xshell session is disconnected.
Latest Xshell 5 Chinese version get address: http://wm.makeding.com/iclk/?zoneid=18724
Workaround:
Action One: First find the Device Manager from your computer's control panel and open it.
Figure 1: Device Manager
Operation two: In Device Manager, find the "network adapter", you can see the broadband connection and wireless connection, two network connection options.
Figure 2: Network adapter
Action Three: If your computer is a broadband connection, right-click the Network connection option and click "Properties" to jump out of the window. Click "Power Management" will be set in the "Allow the computer to turn off this device to save power" tick remove, you can.
Figure 3: Power Management
After following the above steps, the computer will not go into sleep mode, even if the computer does not operate, will always maintain network connectivity. In the networked state, the Xshell session window will remain connected and will not automatically shut down, preventing users from using it. More about Xshell Chinese garbled solution can be accessed Xmanager Chinese official website.
The tutorials above are referenced from: http://www.xshellcn.com/xsh_column/rhjj-hhdk.html
How to keep Xshell connected in sleep mode