跳到主要内容

1. 引言 (Introduction)

  1. 引言 (Introduction)

Secure Shell (SSH) 是一种协议, 用于在不安全网络上提供安全远程登录和其他 安全网络服务. 它由三个主要组件组成:

o Transport Layer Protocol [SSH-TRANS] 提供 server authentication, confidentiality 和 integrity. 它还可以选择提供 compression. transport layer 通常运行在 TCP/IP connection 之上, 但也可以用于任何其他 可靠数据流之上.

o User Authentication Protocol [SSH-USERAUTH] 向服务器认证 client-side user. 它运行在 transport layer protocol 之上.

o Connection Protocol [SSH-CONNECT] 将 encrypted tunnel 复用为多个 logical channels. 它运行在 user authentication protocol 之上.

一旦 secure transport layer connection 建立, 客户端就会发送 service request. user authentication 完成后会发送第二个 service request. 这允许定义新的协议, 并使其与上面列出的协议共存.

connection protocol 提供可用于广泛用途的 channels. 标准方法可用于建立 secure interactive shell sessions, 以及转发 ("tunneling") 任意 TCP/IP ports 和 X11 connections.