📜  SSH 和 SFTP 的区别

📅  最后修改于: 2021-09-15 01:28:03             🧑  作者: Mango

先决条件——传输层的职责

1.安全外壳(SSH):
它是一个传输层,用于安全登录和两个安全端点之间的信息共享。它通过公钥和私钥来保护交换。用于组织和远程服务器之间的安全通信。

2. SSH 文件传输协议(SFTP):
它是一种基于 SSH 构建的协议,可以以安全的方式有效地传输文件。使用此协议,它可以轻松地通过互联网连接安全地移动大量数据。它利用SSH,使信息交换具有更高级别的保护。

SSH 和 SFTP 的区别:

S.No

SSH

SFTP

1.  It is short for Secure Shell It is short for Secure Shell File Transfer Protocol.
2. It was founded by Tatu Ylönen in 1995.  It was founded by Tatu Ylönen in 1997. 
3. It provides authentication and secure logins for communication. It provides a secure channel for transferring files between the two endpoints.
4. It uses keys i.e, either public or private keys for communication. It uses one channel to transmit data.
5. It provides port forwarding to pass an SSH connection. It provides encryption for sending the data.
6. It has its architecture. It is built over SSH architecture.
7. It uses a secure file transfer mechanism. It uses the tunnel transfer method.
8. It provides support for remote logins. It provides support for IPv6 HTTP protocols.
9. Uses : It is used in various Unix and Windows distributions. Uses : It is used to transfer, access and modify files over an SSH transport.