What are SSL and SSH Protocols?

Both SSL and SSH are cryptographic protocols which constitute supporting pillars for web security. As a well-known fact, confidential information is liable to hack whenever it is exchanged over a network. Implementing these protocols provides a safe portal for information exchange over the Internet. This is achieved with the help of different encryption techniques.

In this article we will discuss the applications of SSL(secure socket layer) and SSH(secure shell) and:


Also called as a stable socket layer, SSL offers encryption over other transport layer protocols, such as HTTP and FTP layer, during server-browser data exchange. The best use of SSL is that it is possible to safely send credit card information or other bank data to the browser without any risk of being eavesdropped or intercepted.

On 6th SSL is implemented (i.e. OSI model presentation layer). Due to the CA certificates SSL is a little more secure and complex. Many websites use SSL by purchasing costly or inexpensive SSL certificates according to their requirements.

Public and private key pairings secure the transfer of sensitive information. It uses port 443 and is commonly adopted by the e-commerce, banking , social media, healthcare and other industries where security of information is one of the primary concerns.


Safe shell designed basically to ensure a secure Internet connexion between connected computers. Network administrators also use SSH between two machines for remote logging in and remote control access. SSH itself is a transport protocol, independent of the SSL layer in any way. SSH has replaced Telnet and other unreliable remote protocols such as RLOGIN, RSH, and REXEC protocols which were previously used for remote device access and information sharing. The data sent via these shell protocols were not encrypted and were suspected of being intercepted. SSH ‘s principal function is to protect the networking tunnel.

Safe communication in SSH takes place either through the pairing of public key and private key, or through user I d and password. It uses port 22 for efficient communication. SSH is typical example of using SSH on UNIX systems but restricted use on the Windows OS.

You need to exchange key fingerprints to get a good move. Unlike SSL where PKI (public key infrastructure) is used with the certificates signed. Use SSH to fix connectivity issues in cloud computing that delivers a tunnel to a virtual machine over the Internet through a firewall.

Refer to the table below to get a better view of the contrast between the two: