📜  SSH和SSL之间的区别

📅  最后修改于: 2021-08-27 18:12:54             🧑  作者: Mango

1.安全Shell(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.