📜  SSH 和 SSL 的区别

📅  最后修改于: 2021-09-12 11:18:53             🧑  作者: Mango

1.安全外壳(SSH):
它是一种加密网络协议,用于通过 Internet 访问网络设备和服务器。 SSH 协议是由 SSH Communications Security Ltd 开发的。SSH 允许我们通过网络安全地登录到另一台计算机,在远程机器上执行命令,并通过网络将文件从一台机器传输到另一台机器。

2. 安全套接层 (SSL):
它是一种网络协议,可在非安全网络中提供安全传输。 SSL 需要证书并适用于公共密钥加密。 SSL 在网络环境的各种操作中实现,例如网页浏览、消息传递、电子邮件和其他协议(如 FTP)。 SSH 和 SSL 的区别:

S.No SSH SSL
1. It is cryptographic tunneling protocol and has a username/password authentication system. It does not have a username/password authentication system like SSH.
2. It works on the port number 22. It works on the port number 443.
3. It completely depends on the network tunneling. It is asynchronous as it depends on the certificates.
4. It works on three-stage process for server and client authentication processes. While SSL usually works on X.509 digital certificates for server and client authentication.
5. It encrypts the communication between two computers over the internet. It encrypts the communication between browser and server.
6. It is appropriate and effective for securely executing commands across the internet. It is best suited for securely transferring critical data like in credit cards and banking.
7. It provides data confidentiality by using symmetric key algorithms. It adopts a combination of both symmetric and asymmetric encryption algorithms to provide data privacy.