Back to results
US 9,792,195 B2Granted
Terminal data logger
AssigneeRed Hat, Inc.
InventorsJiri Olsa, Anton Arapov
Life of this patent
Estimating the term…
Abstract
A method and system for server-side capturing, logging, and replaying terminal data of a terminal is described.
Claims20
A method comprising:
- starting a terminal session between a server computing device and a terminal emulator over a network, wherein the terminal emulator comprises a pseudo terminal executing on a client computing device, and wherein the pseudo terminal comprises at least one of a Secure Shell (SSH) terminal or a telnet terminal;
- capturing from the start of the terminal session, at an operating system kernel of the server computing device, incoming and outgoing data of the terminal emulator during the terminal session, wherein the incoming and outgoing data comprises data input by a user in the terminal emulator during the terminal session via a user interface and output data displayed by the terminal emulator during the terminal session, wherein the user interface comprises a character-based terminal including at least one of a command-line interface or a text-based interface, wherein the incoming and outgoing data comprises characters and control characters, and wherein the user interface displays information on the terminal emulator via characters going through the terminal emulator;
- in response to the terminal emulator losing power:
- determining, by a processing device, that the terminal session is terminated;
- storing the captured incoming and outgoing data in a data store of the server computing device;
- presenting, by the server computing device, an administrator interface that is different from the user interface of the terminal emulator to allow an administrator to select an option to recreate the terminal session on the administrator interface after the storing;
- and
- in response to a selection of the option, recreating, by the processing device, the terminal session via the administrator interface by playing back the stored incoming and outgoing data of the terminal session in the administrator interface.
5 more elements
A non-transitory computer readable storage medium including instructions that, when executed by a processing device in a server computing device, cause the processing device to:
- start a terminal session between the server computing device and a terminal emulator over a network, wherein the terminal emulator comprises a pseudo terminal executing on a client computing device, and wherein the pseudo terminal comprises at least one of a Secure Shell (SSH) terminal or a telnet terminal;
- capture from the start of the terminal session, at an operating system kernel of the server computing device, incoming and outgoing data of the terminal emulator during the terminal session, wherein the incoming and outgoing data comprises data input by a user in the terminal emulator during the terminal session via a user interface and output data displayed by the terminal emulator during the terminal session, wherein the user interface comprises a character-based terminal including at least one of a command-line interface or a text-based interface, wherein the incoming and outgoing data comprises characters and control characters, and wherein the user interface displays information on the terminal emulator via characters going through the terminal emulator;
- in response to the terminal emulator losing power:
- determine, by the processing device, that the terminal session is terminated;
- store the captured incoming and outgoing data in a data store of the server computing device;
- present, by the server computing device, an administrator interface that is different from the user interface of the terminal emulator to allow an administrator to select an option to recreate the terminal session on the administrator interface after the storing;
- and
- in response to a selection of the option, recreating, by the processing device, the terminal session via the administrator interface by playing back the stored incoming and outgoing data of the terminal session in the administrator interface.
5 more elements
A server computing device, comprising:
- a data storage device;
- and
- a processing device, operatively coupled to the data storage device, the processing device to execute a terminal data logger to:
- start a terminal session between the server computing device and a terminal emulator over a network, wherein the terminal emulator comprises a pseudo terminal executing on a client computing device, and wherein the pseudo terminal comprises at least one of a Secure Shell (SSH) terminal or a telnet terminal;
- in response to a start of the terminal session, capture from the start of the terminal session, at an operating system kernel of the server computing device, incoming and outgoing data of the terminal emulator during the terminal session, wherein the incoming and outgoing data comprises data input by a user in the terminal emulator during the terminal session via a user interface and output data displayed by the terminal emulator during the terminal session, wherein the user interface comprises a character-based terminal including at least one of a command-line interface or a text-based interface, wherein the incoming and outgoing data comprises characters and control characters, and wherein the user interface displays information on the terminal emulator via characters going through the terminal emulator;
- in response to the terminal emulator losing power:
- determine, by the processing device, that the terminal session is terminated;
- store the captured incoming and outgoing data in the data storage device;
- present, by the server computing device, an administrator interface that is different from the user interface of the terminal emulator to allow an administrator to select an option to recreate the terminal session on the administrator interface after the storing;
- and
- in response to a selection of the option, recreate, by the processing device, the terminal session via the administrator interface by playing back the stored incoming and outgoing data of the terminal session in the administrator interface.
8 more elements
Dependencies are inferred from the claim text.