📜  SSH和SFTP之间的区别

📅  最后修改于: 2021-08-27 17:04:09             🧑  作者: Mango

先决条件–传输层的责任

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

2. SSH文件传输协议(SFTP):
它是基于SSH的协议,可以以安全的方式有效地传输文件。使用此协议,它可以轻松地通过Internet连接安全地移动大量数据。它利用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.