Shell input/output segregation
First Claim
1. At a client in a network computing environment, a method of ensuring that commands sent from the client are properly executed at a remote command-line shell processor by separating commands from input and output streams, the method comprising:
- establishing a shell session with the remote command-line shell processor, wherein the shell session is initiated by the client in the network computing environment;
after the shell session has been established, sending from the client an execution request message to the remote command-line shell processor that includes a command, wherein the command is sent as a unit that includes a command name and one or more switches;
receiving an acknowledgement at the client from the remote command-line processor that the command has properly been received;
in response to receiving the acknowledgement, sending to the remote command-line processor input from the client for the command as one or more input streams of data, wherein the input is distinct from the command name and one or more switches of the command, and wherein the one or more input streams of data is two or more characters; and
in response to execution of the command using the input at the remote command-line shell processor, receiving at the client one or more output streams of data from the remote command-line shell processor, wherein the output is distinct from the command name and one or more switches of the command, and wherein the one or more output streams of data is two or more characters.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments described herein are based on the principle that shells execute commands as units of characters. Accordingly, embodiments herein provide for a sending side with enough intelligence to isolate each command, examine it, perform some levels of validation, and deliver a structured representation of the command to the remote processor before doing any network operations. More specifically, embodiments herein provided for a mechanism of identifying a command and encapsulating the command into a single message (e.g., a SOAP, HTTPS, or other type message), which is then sent to a remote shell for processing as an entire unit. Accordingly, embodiments herein treat the command as a single unit, rather than as a character-oriented transmission.
80 Citations
20 Claims
-
1. At a client in a network computing environment, a method of ensuring that commands sent from the client are properly executed at a remote command-line shell processor by separating commands from input and output streams, the method comprising:
-
establishing a shell session with the remote command-line shell processor, wherein the shell session is initiated by the client in the network computing environment; after the shell session has been established, sending from the client an execution request message to the remote command-line shell processor that includes a command, wherein the command is sent as a unit that includes a command name and one or more switches; receiving an acknowledgement at the client from the remote command-line processor that the command has properly been received; in response to receiving the acknowledgement, sending to the remote command-line processor input from the client for the command as one or more input streams of data, wherein the input is distinct from the command name and one or more switches of the command, and wherein the one or more input streams of data is two or more characters; and in response to execution of the command using the input at the remote command-line shell processor, receiving at the client one or more output streams of data from the remote command-line shell processor, wherein the output is distinct from the command name and one or more switches of the command, and wherein the one or more output streams of data is two or more characters. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. At a remote command-line shell processor in a network computing environment, a method of ensuring that commands sent from a client are properly executed at the remote command-line shell processor by separating commands from input and output streams, the method comprising:
-
establishing a shell session with the client, wherein the shell session is initiated from the client to the remote command-line shell processor; after the shell session has been established, receiving at the remote command-line shell processor an execution request message from the client that includes a command, wherein the command is received as a unit that includes a command name and one or more switches; sending from the remote command-line shell processor an acknowledgement to the client that the command has properly been received by the command-line shell processor; in response to sending the acknowledgement, receiving at the remote command-line shell processor input from the client for the command as one or more input streams of data, wherein the input is distinct from the command name and one or more switches of the command, and wherein the one or more input streams of data is two or more characters; executing, at the remote command-line shell processor, the command using the input; and in response to execution of the command using the input, sending to the client one or more output streams of data from the remote command-line shell processor, wherein the output is distinct from the command name and one or more switches of the command, and wherein the one or more output streams of data is two or more characters. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. At a client in a network computing environment, a computer storage memory device for implementing a method of ensuring that commands sent from the client are properly executed at a remote command-line shell processor by separating commands from input and output streams, the computer storage memory device having stored thereon computer executable instructions that, when executed by a processor, can cause the client to perform the following:
-
establish a shell session with the remote command-line shell processor; after the shell session has been established, send from the client an execution request message to the remote command-line shell processor that includes a command, wherein the command is sent as a unit that includes a command name and one or more switches; receive an acknowledgement at the client that the command has properly been received; in response to receiving the acknowledgement, send to the remote command-line shell processor input from the client for the command as one or more input streams of data, wherein the input is distinct from the command name and one or more switches of the command, and wherein the one or more input streams of data is two or more characters; and in response to execution of the command using the input at the remote command-line shell processor, receive at the client one or more output streams of data, wherein the output is distinct from the command name and one or more switches of the command, and wherein the one or more output streams of data is two or more characters. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification