draft-ietf-secsh-connect-18.2.ps

来自「OTP是开放电信平台的简称」· PS 代码 · 共 2,216 行 · 第 1/5 页

PS
2,216
字号
PStoPSsaved restoreuserdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 421.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclipPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 6 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft          SSH Connection Protocol                 Oct 2003) s5 690 M(     byte      SSH_MSG_CHANNEL_WINDOW_ADJUST) s5 679 M(     uint32    recipient channel) s5 668 M(     uint32    bytes to add) s5 646 M(   After receiving this message, the recipient MAY send the given number) s5 635 M(   of bytes more than it was previously allowed to send; the window size) s5 624 M(   is incremented.) s5 602 M(   Data transfer is done with messages of the following type.) s5 580 M(     byte      SSH_MSG_CHANNEL_DATA) s5 569 M(     uint32    recipient channel) s5 558 M(     string    data) s5 536 M(   The maximum amount of data allowed is the current window size.  The) s5 525 M(   window size is decremented by the amount of data sent. Both parties) s5 514 M(   MAY ignore all extra data sent after the allowed window is empty.) s5 492 M(   Additionally, some channels can transfer several types of data.  An) s5 481 M(   example of this is stderr data from interactive sessions. Such data) s5 470 M(   can be passed with SSH_MSG_CHANNEL_EXTENDED_DATA messages, where a) s5 459 M(   separate integer specifies the type of the data.  The available types) s5 448 M(   and their interpretation depend on the type of the channel.) s5 426 M(     byte      SSH_MSG_CHANNEL_EXTENDED_DATA) s5 415 M(     uint32    recipient_channel) s5 404 M(     uint32    data_type_code) s5 393 M(     string    data) s5 371 M(   Data sent with these messages consumes the same window as ordinary) s5 360 M(   data.) s5 338 M(   Currently, only the following type is defined.) s5 316 M(   #define SSH_EXTENDED_DATA_STDERR                1) s5 283 M(5.3 Closing a Channel) s5 261 M(   When a party will no longer send more data to a channel, it SHOULD) s5 250 M(   send SSH_MSG_CHANNEL_EOF.) s5 228 M(     byte      SSH_MSG_CHANNEL_EOF) s5 217 M(     uint32    recipient_channel) s5 195 M(   No explicit response is sent to this message; however, the) s5 184 M(   application may send EOF to whatever is at the other end of the) s5 173 M(   channel.  Note that the channel remains open after this message, and) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 6]) s_RSPStoPSsaved restore%%Page: (6,7) 4userdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 0.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclip/showpage{}def/copypage{}def/erasepage{}defPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 7 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft          SSH Connection Protocol                 Oct 2003) s5 690 M(   more data may still be sent in the other direction.  This message) s5 679 M(   does not consume window space and can be sent even if no window space) s5 668 M(   is available.) s5 646 M(   When either party wishes to terminate the channel, it sends) s5 635 M(   SSH_MSG_CHANNEL_CLOSE.  Upon receiving this message, a party MUST) s5 624 M(   send back a SSH_MSG_CHANNEL_CLOSE unless it has already sent this) s5 613 M(   message for the channel.  The channel is considered closed for a) s5 602 M(   party when it has both sent and received SSH_MSG_CHANNEL_CLOSE, and) s5 591 M(   the party may then reuse the channel number.  A party MAY send) s5 580 M(   SSH_MSG_CHANNEL_CLOSE without having sent or received) s5 569 M(   SSH_MSG_CHANNEL_EOF.) s5 547 M(     byte      SSH_MSG_CHANNEL_CLOSE) s5 536 M(     uint32    recipient_channel) s5 514 M(   This message does not consume window space and can be sent even if no) s5 503 M(   window space is available.) s5 481 M(   It is recommended that any data sent before this message is delivered) s5 470 M(   to the actual destination, if possible.) s5 448 M(5.4 Channel-Specific Requests) s5 426 M(   Many channel types have extensions that are specific to that) s5 415 M(   particular channel type.  An example is requesting a pty \(pseudo) s5 404 M(   terminal\) for an interactive session.) s5 382 M(   All channel-specific requests use the following format.) s5 360 M(     byte      SSH_MSG_CHANNEL_REQUEST) s5 349 M(     uint32    recipient channel) s5 338 M(     string    request type \(restricted to US-ASCII\)) s5 327 M(     boolean   want reply) s5 316 M(     ... type-specific data) s5 294 M(   If want reply is FALSE, no response will be sent to the request.) s5 283 M(   Otherwise, the recipient responds with either SSH_MSG_CHANNEL_SUCCESS) s5 272 M(   or SSH_MSG_CHANNEL_FAILURE, or request-specific continuation) s5 261 M(   messages. If the request is not recognized or is not supported for) s5 250 M(   the channel, SSH_MSG_CHANNEL_FAILURE is returned.) s5 228 M(   This message does not consume window space and can be sent even if no) s5 217 M(   window space is available. Request types are local to each channel) s5 206 M(   type.) s5 184 M(   The client is allowed to send further messages without waiting for) s5 173 M(   the response to the request.) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 7]) s_RSPStoPSsaved restoreuserdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 421.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclipPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 8 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft          SSH Connection Protocol                 Oct 2003) s5 690 M(   request type names follow the DNS extensibility naming convention) s5 679 M(   outlined in [SSH-ARCH]) s5 657 M(     byte      SSH_MSG_CHANNEL_SUCCESS) s5 646 M(     uint32    recipient_channel) s5 613 M(     byte      SSH_MSG_CHANNEL_FAILURE) s5 602 M(     uint32    recipient_channel) s5 580 M(   These messages do not consume window space and can be sent even if no) s5 569 M(   window space is available.) s5 547 M(6. Interactive Sessions) s5 525 M(   A session is a remote execution of a program.  The program may be a) s5 514 M(   shell, an application, a system command, or some built-in subsystem.) s5 503 M(   It may or may not have a tty, and may or may not involve X11) s5 492 M(   forwarding. Multiple sessions can be active simultaneously.) s5 470 M(6.1 Opening a Session) s5 448 M(   A session is started by sending the following message.) s5 426 M(     byte      SSH_MSG_CHANNEL_OPEN) s5 415 M(     string    "session") s5 404 M(     uint32    sender channel) s5 393 M(     uint32    initial window size) s5 382 M(     uint32    maximum packet size) s5 360 M(   Client implementations SHOULD reject any session channel open) s5 349 M(   requests to make it more difficult for a corrupt server to attack the) s5 338 M(   client.) s5 316 M(6.2 Requesting a Pseudo-Terminal) s5 294 M(   A pseudo-terminal can be allocated for the session by sending the) s5 283 M(   following message.) s5 261 M(     byte      SSH_MSG_CHANNEL_REQUEST) s5 250 M(     uint32    recipient_channel) s5 239 M(     string    "pty-req") s5 228 M(     boolean   want_reply) s5 217 M(     string    TERM environment variable value \(e.g., vt100\)) s5 206 M(     uint32    terminal width, characters \(e.g., 80\)) s5 195 M(     uint32    terminal height, rows \(e.g., 24\)) s5 184 M(     uint32    terminal width, pixels \(e.g., 640\)) s5 173 M(     uint32    terminal height, pixels \(e.g., 480\)) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 8]) s_RSPStoPSsaved restore%%Page: (8,9) 5userdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 0.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclip/showpage{}def/copypage{}def/erasepage{}defPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 9 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft          SSH Connection Protocol                 Oct 2003) s5 690 M(     string    encoded terminal modes) s5 668 M(   The encoding of terminal modes is described in Section Encoding of) s5 657 M(   Terminal Modes \(Section 8\). Zero dimension parameters MUST be) s5 646 M(   ignored. The character/row dimensions override the pixel dimensions) s5 635 M(   \(when nonzero\). Pixel dimensions refer to the drawable area of the) s5 624 M(   window.) s5 602 M(   The dimension parameters are only informational.) s5 580 M(   The client SHOULD ignore pty requests.) s5 558 M(6.3 X11 Forwarding) s5 536 M(6.3.1 Requesting X11 Forwarding) s5 514 M(   X11 forwarding may be requested for a session by sending) s5 492 M(     byte      SSH_MSG_CHANNEL_REQUEST) s5 481 M(     uint32    recipient channel) s5 470 M(     string    "x11-req") s5 459 M(     boolean   want reply) s5 448 M(     boolean   single connection) s5 437 M(     string    x11 authentication protocol) s5 426 M(     string    x11 authentication cookie) s5 415 M(     uint32    x11 screen number) s5 393 M(   It is recommended that the authentication cookie that is sent be a) s5 382 M(   fake, random cookie, and that the cookie is checked and replaced by) s5 371 M(   the real cookie when a connection request is received.) s5 349 M(   X11 connection forwarding should stop when the session channel is) s5 338 M(   closed; however, already opened forwardings should not be) s5 327 M(   automatically closed when the session channel is closed.) s5 305 M(   If `single connection' is TRUE, only a single connection should be) s5 294 M(   forwarded.  No more connections will be forwarded after the first, or) s5 283 M(   after the session channel has been closed.) s5 261 M(   The "x11 authentication protocol" is the name of the X11) s5 250 M(   authentication method used, e.g. "MIT-MAGIC-COOKIE-1".) s5 228 M(   The x11 authentication cookie MUST be hexadecimal encoded.) s5 206 M(   X Protocol is documented in [SCHEIFLER].) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 9]) s_RSPStoPSsaved restoreuserdict/PStoPSsaved save putPStoPSmatrix setmatrix595.000000 421.271378 translate90 rotate0.706651 dup scaleuserdict/PStoPSmatrix matrix currentmatrix putuserdict/PStoPSclip{0 0 moveto 595.000000 0 rlineto 0 842.000000 rlineto -595.000000 0 rlineto closepath}put initclipPStoPSxform concat%%BeginPageSetup_S75 0 translate/pagenum 10 def/fname () def/fdir () def/ftail () def/user_header_p false def%%EndPageSetup5 723 M(Internet-Draft          SSH Connection Protocol                 Oct 2003) s5 690 M(6.3.2 X11 Channels) s5 668 M(   X11 channels are opened with a channel open request.  The resulting) s5 657 M(   channels are independent of the session, and closing the session) s5 646 M(   channel does not close the forwarded X11 channels.) s5 624 M(     byte      SSH_MSG_CHANNEL_OPEN) s5 613 M(     string    "x11") s5 602 M(     uint32    sender channel) s5 591 M(     uint32    initial window size) s5 580 M(     uint32    maximum packet size) s5 569 M(     string    originator address \(e.g. "192.168.7.38"\)) s5 558 M(     uint32    originator port) s5 536 M(   The recipient should respond with SSH_MSG_CHANNEL_OPEN_CONFIRMATION) s5 525 M(   or SSH_MSG_CHANNEL_OPEN_FAILURE.) s5 503 M(   Implementations MUST reject any X11 channel open requests if they) s5 492 M(   have not requested X11 forwarding.) s5 470 M(6.4 Environment Variable Passing) s5 448 M(   Environment variables may be passed to the shell/command to be) s5 437 M(   started later. Uncontrolled setting of environment variables in a) s5 426 M(   privileged process can be a security hazard.  It is recommended that) s

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?