Patent ID: 8793494
Filing Date: 2014-07-29
Classification: H04L

Abstract:
1. A method for recovering a secure shell (SSH) session upon interruption of the SSH session, the method, comprising: sending, by a client, all state information before the interruption of the SSH session and session information of the session to a server, wherein all the state information comprises a completion ratio of data transmission, wherein the SSH session comprises a plurality of channels and wherein the session information includes information for one or more of the respective plurality of channels; and recovering, by the server, the SSH session upon the session information and all the state information before the interruption of the SSH session; wherein before the SSH session is interrupted, the method further comprises: receiving, by the client, a first key encrypted and the session information encrypted from the server after the SSH session is established between the server and the client, wherein the first key is shared by the client and the server, and the first key and the session information are encrypted through a local key of the server; and storing, by the client, the encrypted first key and the encrypted session information; wherein the step of the client sending all state information before interruption of the SSH session to the server when the SSH session needs to be recovered upon interruption comprises: encrypting, by the client, all the state information before the interruption of the SSH session with the first key, and sending, by the client, the encrypted state information, the encrypted first key, and the encrypted session information received from the server, to the server.