Select the product you need help with
โพรโทคอเทลเน็ตหมายเลขบทความ (Article ID): 231866 - ผลิตภัณฑ์ที่เกี่ยวข้องในบทความนี้ เนื้อหาบนหน้านี้สรุปtelnet ช่วยให้ผู้ใช้ความสามารถในการเรียกใช้โปรแกรมระยะไกล และช่วยการดูแลระยะไกล telnet จะพร้อมใช้งานสำหรับระบบปฏิบัติการทั้งหมด practically และ eases รวมกันในสภาพแวดล้อมการเชื่อมต่อเครือข่าย heterogeneous ข้อมูลเพิ่มเติมtelnet เป็นมากที่สุดเข้าใจในบริบทของผู้ใช้กับเทอร์มินัลง่าย ๆ โดยใช้โปรแกรม Telnet ท้องถิ่น (เรียกว่าโปรแกรมไคลเอนต์) เพื่อที่เรียกใช้งานเซสชันการเข้าสู่ระบบบนคอมพิวเตอร์ระยะไกลที่จัดการความต้องการติดต่อสื่อสารของผู้ใช้ โดยโปรแกรมเซิร์ฟเวอร์ Telnet คุณควรจะ emphasized ว่า เซิร์ฟเวอร์ Telnet สามารถส่งผ่านข้อมูลที่ได้รับจากไคลเอนต์หลายชนิดอื่น ๆ กระบวนการซึ่งรวมถึงเซิร์ฟเวอร์การเข้าสู่ระบบระยะไกล มีการอธิบายไว้ใน RFC854 และมีการเผยแพร่ครั้งแรกใน 1983 เทอร์มินัลเสมือนของเครือข่ายการสื่อสารถูกสร้างโดยใช้ TCP/IP และใช้ในการเครือข่ายเสมือนเทอร์มินัล (NVT) บนไคลเอนต์ โปรแกรม Telnet รับผิดชอบสำหรับการแปลรหัส NVT ขาเข้ารหัสที่เข้าใจ โดยของไคลเอ็นต์อุปกรณ์แสดงผลเช่นเดียวกันสำหรับการแปลรหัสแป้นพิมพ์ที่สร้างขึ้นโดยไคลเอนต์เข้ารหัส NVT ขาออกNVT ใช้รหัส 7 บิตสำหรับอักขระ อุปกรณ์แสดงผล เรียกว่าเครื่องพิมพ์ใน RFC จึงจำเป็นใน การแสดงแบบมาตรฐานพิมพ์อักขระ ASCII แทน โดยรหัส 7 บิต และต้องรู้จัก และประมวลผลบางรหัสควบคุมเท่านั้น มีส่งอักขระ 7 บิตเป็นไบต์ 8 บิต ด้วยบิตที่สำคัญมากที่สุดที่กำหนดเป็นศูนย์ มีส่งการสิ้นสุดของบรรทัด ตามที่เป็นค่าขนส่งคืน (CR) ตาม ด้วยเส้นตัวดึงข้อมูล (LF) ถ้าคุณต้องการส่งการคืนค่าขนส่งที่แท้จริง นี้ถูกส่งเป็นการคืนค่าขนส่งที่ตาม ด้วยอักขระ NUL (ทั้งหมดบิตศูนย์) NVT ASCII ใช้โปรโตหลายอินเทอร์เน็ตคอลอื่น ๆ เช่น SMTP และ FTP รหัสควบคุมต่อไปนี้จะสามารถเข้าใจ โดย NVT จำเป็นต้องใช้ ยุบตารางนี้
รหัสควบคุมเพิ่มเติมต่อไปนี้จะไม่ใส่ก็ได้ แต่ควรระบุการกำหนดลักษณะพิเศษบนจอแสดงผล ยุบตารางนี้
คำสั่งโพรโทคอล Telnet ใช้คำสั่งต่าง ๆ ในการควบคุมการเชื่อมต่อไคลเอ็นต์เซิร์ฟเวอร์ คำสั่งเหล่านี้จะส่งภายในกระแสข้อมูลของข้อมูล คำสั่งมี distinguished จากข้อมูล โดยการตั้งค่าบิตที่สำคัญมากที่สุดเป็น 1 (อย่าลืมว่า ข้อมูลถูกส่งเป็น 7 บิต ด้วยบิต eighth การตั้งค่าเป็น 0) คำสั่งเสมอนำมาใช้ โดย Interpret เป็นคำสั่ง (IAC) อักขระนี่คือชุดคำสั่งเสร็จสมบูรณ์: ยุบตารางนี้
Telnet OptionsOptions give the client and server a common view of the connection. They can be negotiated at any time during the connection by the use of commands. They are described in separate RFCs.The following are examples of common options: ยุบตารางนี้
Either end of a Telnet conversation can locally or remotely enable or disable an option. The initiator sends a 3-byte command of the form: ยุบตารางนี้
The response is of the same form. Operation is one of: ยุบตารางนี้
Associated with each of the these commands are various possible responses: ยุบตารางนี้
For example, if the sender wants the other end to suppress go-ahead, it would send the byte sequence: ยุบตารางนี้
The final byte of the 3-byte sequence identifies the required action. Some option's values need to be communicated after support of the option has been agreed. This is done using sub-option negotiation. Values are negotiated using value query commands and responses in the following form: ยุบตารางนี้
ยุบตารางนี้
ตัวอย่างเช่น ถ้าไคลเอ็นต์ต้องการระบุชนิดเทอร์มินัลไปยังเซิร์ฟเวอร์ อัตราแลกเปลี่ยนต่อไปนี้อาจขึ้น: ยุบตารางนี้
อัตราแลกเปลี่ยนแรกสร้างชนิดเทอร์มินัล (ตัวเลือกจำนวน 24) ถูกจัดการ เซิร์ฟเวอร์แล้ว enquires ของไคลเอ็นต์สิ่งค่า wishes การเชื่อมโยงกับชนิดเทอร์มินัลดังกล่าว ลำดับ SB, 24, 1 ถึงเจรจา sub-option สำหรับชนิดตัวเลือก 24 ค่าที่จำเป็น (1) IAC ลำดับ SE ระบุจุดสิ้นสุดของการร้องขอนี้ การตอบสนอง IAC, SB, 24, 0, 'V'...ถึงเจรจา sub-option สำหรับชนิดตัวเลือก 24 ค่าที่ให้มา (0), IAC การสิ้นสุดของการตอบสนอง (และค่าที่ให้มา) ที่บ่งชี้ว่า ลำดับ SE เข้ารหัสค่าเฉพาะตัว แต่มีการเรียงลำดับอักขระ ดังแสดงข้างต้น อยู่ทั่วไป คำอธิบายของตัวเลือก Telnetมีหลายอย่างที่แสดงรายการ self-evident แต่บางโทรสำหรับข้อมูลเพิ่มเติมไม่ใส่ไปห่างนำไปใช้ Telnet เดิม defaulted เพื่อดำเนินการดูเพล็กซ์ครึ่ง ซึ่งหมายความ ว่า การรับส่งข้อมูลข้อมูลได้เฉพาะไปในทิศทางหนึ่งครั้ง และจำเป็นต้องดำเนินการเฉพาะเพื่อระบุจุดสิ้นสุดของปริมาณการใช้งานในทิศทางหนึ่ง และว่า ปริมาณการใช้งานอาจเริ่มทำงานในขณะนี้ในทิศทางอื่น [นี้เหมือนกับการใช้ "roger" และ "over" โดย amateur CB วิทยุตัวดำเนินการ] การดำเนินการที่เจาะจงจะรวมอักขระ GA ในสตรีมข้อมูลการเชื่อมโยง Modern อนุญาตให้การดำเนินการ bi directional ตามปกติและ "ระงับการเดินล่วงหน้า" เปิดใช้งานตัวเลือก echo.ตัวเลือก echo ถูกเปิดใช้งาน โดยปกติแล้ว โดยเซิร์ฟเวอร์ เพื่อบ่งชี้ที่ echos เซิร์ฟเวอร์อักขระทั้งหมดที่ได้รับ ชุดของ "ระงับเดินล่วงหน้า" และ "echo" เรียกว่าโหมดอักขระในแบบที่เวลาหมายความ ว่า แต่ละอักขระแยกต่างหากส่ง และ echoedไม่มีการทำความเข้าใจเกี่ยวกับการเรียกว่าบรรทัด kludge โหมด ซึ่งหมายความ ว่า ถ้าเป็น "ระงับไปไว้ล่วงหน้า" หรือ " echo "จะเปิดใช้งาน แต่ไม่ ทั้ง จาก Telnet ดำเนินงานในโหมดบรรทัดในแบบที่เวลาหมายความ ว่า บรรทัดทั้งหมด assembled แต่ละด้าน และส่งได้"ไปยัง" LinemodeThis option replaces and supersedes the line mode kludge.Remote Flow ControlThis option controls where the special flow control effects of Ctrl+S or Ctrl+Q are implemented.Telnet Control FunctionsThe Telnet protocol includes a number of control functions. These are initiated in response to conditions detected by the client (usually certain special keys or key combinations) or server. The detected condition causes a special character to be incorporated in the data stream.Interrupt ProcessThis is used by the client to cause the suspension or termination of the server process. Typically, the user types Ctrl+C on the keyboard. An IP (244) character is included in the data stream.Abort OutputThis is used to suppress the transmission of remote process output. An AO (238) character is included in the data stream.Are You ThereThis is used to trigger a visible response from the other end of the connection to confirm the operation of the link and the remote process. An AYT (246) character is incorporated in the data stream.Erase characterThis is sent to the display to tell it to delete the immediately preceding character from the display. An EC (247) character is incorporated in the data stream.Erase lineThis option causes the deletion of the current line of input. An EL (248) character is incorporated in the data stream.Data MarkSome control functions such as AO and IP require immediate action and this may cause difficulties if data is held in buffers awaiting input requests from a (possibly misbehaving) remote process. To work around this problem, a DM (242) character is sent in a TCP Urgent segment, this tells the receiver to examine the data stream for "interesting" characters such as IP, AO, and AYT. This is known as the Telnet synchronization mechanism.A DM not in a TCP Urgent segment has no effect. The Telnet CommandOn Windows NT and most UNIX systems, a Telnet session can be initiated using the Telnet command. Most users simply type:telnet remote_host However, if the user just typesเทลเน็ต,
then various options and subcommands are available.The following is an example of a Telnet session from sfuclnt to sfusrvr. C:\>telnet Microsoft (R) Windows NT (TM) Version 4.00 (Build 1381) Welcome to Microsoft Telnet Client Telnet Client Build 5.00.99034.1 Escape Character is 'CTRL+]' Microsoft Telnet> open sfusrvr **** The screen will clear and the following information is displayed: Microsoft (R) Windows NT (TM) Version 4.00 (Build 1381) Welcome to Microsoft Telnet Service Telnet Server Build 5.00.99034.1 login: sfu password: ******** **** The screen will clear again and the following information is displayed: *=============================================================== Welcome to Microsoft Telnet Server. *=============================================================== C:\> คุณสมบัติหมายเลขบทความ (Article ID): 231866 - รีวิวครั้งสุดท้าย: 8 มกราคม 2554 - Revision: 2.0 ใช้กับ
แปลโดยคอมพิวเตอร์ ข้อมูลสำคัญ: บทความนี้แปลโดยซอฟต์แวร์การแปลด้วยคอมพิวเตอร์ของ Microsoft แทนที่จะเป็นนักแปลที่เป็นบุคคล Microsoft มีบทความที่แปลโดยนักแปลและบทความที่แปลด้วยคอมพิวเตอร์ เพื่อให้คุณสามารถเข้าถึงบทความทั้งหมดในฐานความรู้ของเรา ในภาษาของคุณเอง อย่างไรก็ตาม บทความที่แปลด้วยคอมพิวเตอร์นั้นอาจมีข้อบกพร่อง โดยอาจมีข้อผิดพลาดในคำศัพท์ รูปแบบการใช้ภาษาและไวยากรณ์ เช่นเดียวกับกรณีที่ชาวต่างชาติพูดผิดเมื่อพูดภาษาของคุณ Microsoft ไม่มีส่วนรับผิดชอบต่อความคลาดเคลื่อน ความผิดพลาดหรือความเสียหายที่เกิดจากการแปลเนื้อหาผิดพลาด หรือการใช้บทแปลของลูกค้า และ Microsoft มีการปรับปรุงซอฟต์แวร์การแปลด้วยคอมพิวเตอร์อยู่เป็นประจำ ต่อไปนี้เป็นฉบับภาษาอังกฤษของบทความนี้:231866
(http://support.microsoft.com/kb/231866/en-us/
)
| การแปลบทความ
|




กลับไปด้านบน








