draft-ietf-secsh-connect-18.2.ps

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

PS
2,216
字号
5 558 M(   all provisions of Section 10 of RFC2026.) s5 536 M(   Internet-Drafts are working documents of the Internet Engineering) s5 525 M(   Task Force \(IETF\), its areas, and its working groups. Note that other) s5 514 M(   groups may also distribute working documents as Internet-Drafts.) s5 492 M(   Internet-Drafts are draft documents valid for a maximum of six months) s5 481 M(   and may be updated, replaced, or obsoleted by other documents at any) s5 470 M(   time. It is inappropriate to use Internet-Drafts as reference) s5 459 M(   material or to cite them other than as "work in progress.") s5 437 M(   The list of current Internet-Drafts can be accessed at http://) s5 426 M(   www.ietf.org/ietf/1id-abstracts.txt.) s5 404 M(   The list of Internet-Draft Shadow Directories can be accessed at) s5 393 M(   http://www.ietf.org/shadow.html.) s5 371 M(   This Internet-Draft will expire on March 31, 2004.) s5 349 M(Copyright Notice) s5 327 M(   Copyright \(C\) The Internet Society \(2003\). All Rights Reserved.) s5 305 M(Abstract) s5 283 M(   SSH is a protocol for secure remote login and other secure network) s5 272 M(   services over an insecure network.) s5 250 M(   This document describes the SSH Connection Protocol. It provides) s5 239 M(   interactive login sessions, remote execution of commands, forwarded) s5 228 M(   TCP/IP connections, and forwarded X11 connections. All of these) s5 217 M(   channels are multiplexed into a single encrypted tunnel.) s5 195 M(   The SSH Connection Protocol has been designed to run on top of the) s5 184 M(   SSH transport layer and user authentication protocols.) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 1]) 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 2 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(Table of Contents) s5 668 M(   1.    Contributors . . . . . . . . . . . . . . . . . . . . . . . .  3) s5 657 M(   2.    Introduction . . . . . . . . . . . . . . . . . . . . . . . .  3) s5 646 M(   3.    Conventions Used in This Document  . . . . . . . . . . . . .  3) s5 635 M(   4.    Global Requests  . . . . . . . . . . . . . . . . . . . . . .  3) s5 624 M(   5.    Channel Mechanism  . . . . . . . . . . . . . . . . . . . . .  4) s5 613 M(   5.1   Opening a Channel  . . . . . . . . . . . . . . . . . . . . .  4) s5 602 M(   5.2   Data Transfer  . . . . . . . . . . . . . . . . . . . . . . .  5) s5 591 M(   5.3   Closing a Channel  . . . . . . . . . . . . . . . . . . . . .  6) s5 580 M(   5.4   Channel-Specific Requests  . . . . . . . . . . . . . . . . .  7) s5 569 M(   6.    Interactive Sessions . . . . . . . . . . . . . . . . . . . .  8) s5 558 M(   6.1   Opening a Session  . . . . . . . . . . . . . . . . . . . . .  8) s5 547 M(   6.2   Requesting a Pseudo-Terminal . . . . . . . . . . . . . . . .  8) s5 536 M(   6.3   X11 Forwarding . . . . . . . . . . . . . . . . . . . . . . .  9) s5 525 M(   6.3.1 Requesting X11 Forwarding  . . . . . . . . . . . . . . . . .  9) s5 514 M(   6.3.2 X11 Channels . . . . . . . . . . . . . . . . . . . . . . . . 10) s5 503 M(   6.4   Environment Variable Passing . . . . . . . . . . . . . . . . 10) s5 492 M(   6.5   Starting a Shell or a Command  . . . . . . . . . . . . . . . 10) s5 481 M(   6.6   Session Data Transfer  . . . . . . . . . . . . . . . . . . . 11) s5 470 M(   6.7   Window Dimension Change Message  . . . . . . . . . . . . . . 12) s5 459 M(   6.8   Local Flow Control . . . . . . . . . . . . . . . . . . . . . 12) s5 448 M(   6.9   Signals  . . . . . . . . . . . . . . . . . . . . . . . . . . 12) s5 437 M(   6.10  Returning Exit Status  . . . . . . . . . . . . . . . . . . . 13) s5 426 M(   7.    TCP/IP Port Forwarding . . . . . . . . . . . . . . . . . . . 14) s5 415 M(   7.1   Requesting Port Forwarding . . . . . . . . . . . . . . . . . 14) s5 404 M(   7.2   TCP/IP Forwarding Channels . . . . . . . . . . . . . . . . . 15) s5 393 M(   8.    Encoding of Terminal Modes . . . . . . . . . . . . . . . . . 16) s5 382 M(   9.    Summary of Message Numbers . . . . . . . . . . . . . . . . . 18) s5 371 M(   10.   Security Considerations  . . . . . . . . . . . . . . . . . . 18) s5 360 M(   11.   iana cONSiderations  . . . . . . . . . . . . . . . . . . . . 19) s5 349 M(   12.   Intellectual Property  . . . . . . . . . . . . . . . . . . . 19) s5 338 M(         Normative References . . . . . . . . . . . . . . . . . . . . 19) s5 327 M(         Informative References . . . . . . . . . . . . . . . . . . . 20) s5 316 M(         Authors' Addresses . . . . . . . . . . . . . . . . . . . . . 20) s5 305 M(         Intellectual Property and Copyright Statements . . . . . . . 21) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 2]) s_RSPStoPSsaved restore%%Page: (2,3) 2userdict/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 3 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(1. Contributors) s5 668 M(   The major original contributors of this document were: Tatu Ylonen,) s5 657 M(   Tero Kivinen, Timo J. Rinne, Sami Lehtinen \(all of SSH Communications) s5 646 M(   Security Corp\), and Markku-Juhani O. Saarinen \(University of) s5 635 M(   Jyvaskyla\)) s5 613 M(   The document editor is: Darren.Moffat@Sun.COM.  Comments on this) s5 602 M(   internet draft should be sent to the IETF SECSH working group,) s5 591 M(   details at: http://ietf.org/html.charters/secsh-charter.html) s5 569 M(2. Introduction) s5 547 M(   The SSH Connection Protocol has been designed to run on top of the) s5 536 M(   SSH transport layer and user authentication protocols. It provides) s5 525 M(   interactive login sessions, remote execution of commands, forwarded) s5 514 M(   TCP/IP connections, and forwarded X11 connections. The service name) s5 503 M(   for this protocol is "ssh-connection".) s5 481 M(   This document should be read only after reading the SSH architecture) s5 470 M(   document [SSH-ARCH]. This document freely uses terminology and) s5 459 M(   notation from the architecture document without reference or further) s5 448 M(   explanation.) s5 426 M(3. Conventions Used in This Document) s5 404 M(   The keywords "MUST", "MUST NOT", "REQUIRED", "SHOULD", "SHOULD NOT",) s5 393 M(   and "MAY" that appear in this document are to be interpreted as) s5 382 M(   described in [RFC2119].) s5 360 M(   The used data types and terminology are specified in the architecture) s5 349 M(   document [SSH-ARCH].) s5 327 M(   The architecture document also discusses the algorithm naming) s5 316 M(   conventions that MUST be used with the SSH protocols.) s5 294 M(4. Global Requests) s5 272 M(   There are several kinds of requests that affect the state of the) s5 261 M(   remote end "globally", independent of any channels.  An example is a) s5 250 M(   request to start TCP/IP forwarding for a specific port.  All such) s5 239 M(   requests use the following format.) s5 217 M(     byte      SSH_MSG_GLOBAL_REQUEST) s5 206 M(     string    request name \(restricted to US-ASCII\)) s5 195 M(     boolean   want reply) s5 184 M(     ... request-specific data follows) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 3]) 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 4 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 names follow the DNS extensibility naming convention outlined) s5 679 M(   in [SSH-ARCH].) s5 657 M(   The recipient will respond to this message with) s5 646 M(   SSH_MSG_REQUEST_SUCCESS or SSH_MSG_REQUEST_FAILURE if `want reply' is) s5 635 M(   TRUE.) s5 613 M(     byte      SSH_MSG_REQUEST_SUCCESS) s5 602 M(     .....     response specific data) s5 580 M(   Usually the response specific data is non-existent.) s5 558 M(   If the recipient does not recognize or support the request, it simply) s5 547 M(   responds with SSH_MSG_REQUEST_FAILURE.) s5 525 M(     byte      SSH_MSG_REQUEST_FAILURE) s5 492 M(5. Channel Mechanism) s5 470 M(   All terminal sessions, forwarded connections, etc. are channels.) s5 459 M(   Either side may open a channel.  Multiple channels are multiplexed) s5 448 M(   into a single connection.) s5 426 M(   Channels are identified by numbers at each end.  The number referring) s5 415 M(   to a channel may be different on each side.  Requests to open a) s5 404 M(   channel contain the sender's channel number.  Any other) s5 393 M(   channel-related messages contain the recipient's channel number for) s5 382 M(   the channel.) s5 360 M(   Channels are flow-controlled.  No data may be sent to a channel until) s5 349 M(   a message is received to indicate that window space is available.) s5 327 M(5.1 Opening a Channel) s5 305 M(   When either side wishes to open a new channel, it allocates a local) s5 294 M(   number for the channel.  It then sends the following message to the) s5 283 M(   other side, and includes the local channel number and initial window) s5 272 M(   size in the message.) s5 250 M(     byte      SSH_MSG_CHANNEL_OPEN) s5 239 M(     string    channel type \(restricted to US-ASCII\)) s5 228 M(     uint32    sender channel) s5 217 M(     uint32    initial window size) s5 206 M(     uint32    maximum packet size) s5 195 M(     ... channel type specific data follows) s5 173 M(   The channel type is a name as described in the SSH architecture) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 4]) s_RSPStoPSsaved restore%%Page: (4,5) 3userdict/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 5 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(   document, with similar extension mechanisms. `sender channel' is a) s5 679 M(   local identifier for the channel used by the sender of this message.) s5 668 M(   `initial window size' specifies how many bytes of channel data can be) s5 657 M(   sent to the sender of this message without adjusting the window.) s5 646 M(   `Maximum packet size' specifies the maximum size of an individual) s5 635 M(   data packet that can be sent to the sender \(for example, one might) s5 624 M(   want to use smaller packets for interactive connections to get better) s5 613 M(   interactive response on slow links\).) s5 591 M(   The remote side then decides whether it can open the channel, and) s5 580 M(   responds with either) s5 558 M(     byte      SSH_MSG_CHANNEL_OPEN_CONFIRMATION) s5 547 M(     uint32    recipient channel) s5 536 M(     uint32    sender channel) s5 525 M(     uint32    initial window size) s5 514 M(     uint32    maximum packet size) s5 503 M(     ... channel type specific data follows) s5 481 M(   where `recipient channel' is the channel number given in the original) s5 470 M(   open request, and `sender channel' is the channel number allocated by) s5 459 M(   the other side, or) s5 437 M(     byte      SSH_MSG_CHANNEL_OPEN_FAILURE) s5 426 M(     uint32    recipient channel) s5 415 M(     uint32    reason code) s5 404 M(     string    additional textual information \(ISO-10646 UTF-8 [RFC2279]\)) s5 393 M(     string    language tag \(as defined in [RFC3066]\)) s5 371 M(   If the recipient of the SSH_MSG_CHANNEL_OPEN message does not support) s5 360 M(   the specified channel type, it simply responds with) s5 349 M(   SSH_MSG_CHANNEL_OPEN_FAILURE. The client MAY show the additional) s5 338 M(   information to the user. If this is done, the client software should) s5 327 M(   take the precautions discussed in [SSH-ARCH].) s5 305 M(   The following reason codes are defined:) s5 283 M(     #define SSH_OPEN_ADMINISTRATIVELY_PROHIBITED    1) s5 272 M(     #define SSH_OPEN_CONNECT_FAILED                 2) s5 261 M(     #define SSH_OPEN_UNKNOWN_CHANNEL_TYPE           3) s5 250 M(     #define SSH_OPEN_RESOURCE_SHORTAGE              4) s5 217 M(5.2 Data Transfer) s5 195 M(   The window size specifies how many bytes the other party can send) s5 184 M(   before it must wait for the window to be adjusted.  Both parties use) s5 173 M(   the following message to adjust the window.) s5 129 M(Ylonen & Moffat, Editor    Expires March 31, 2004               [Page 5]) s_RS

⌨️ 快捷键说明

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