What’s a secure shell?

Print anything with Printful



A secure shell allows secure data exchange over an unsecured network using public key cryptography. It provides access to an operating system through a command line interface and can be used for tunneling and file transfer.

A secure shell allows two networked devices to exchange data over a secure channel. This network protocol uses public key cryptography to protect information so it can be sent safely over an unsecured network. A secure shell is often used on Linux and UNIX computer systems.
In computing, a shell is a software structure that provides a way for users to access an operating system. It is most commonly used to launch another program. A shell account gives access to a shell through a user account on a remote server. The user interacts with the shell by typing commands. This is called a command line interface.

A secure shell provides a way for users to access the server securely even if the network is not secure. A form of encryption called public key cryptography is used to create the secure connection. Each computer in the communication has two keys, a public key and a private key. The message is encrypted using the public key, which is available to anyone, but can only be decrypted using the private key, known only to the target computer. Although the keys are mathematically related, there is no way to figure out the private key using the public key.

The Internet Engineering Task Force, the organization that creates and maintains Internet standards, created the Secure Shell protocol. It was intended to replace Telnet and rlognid as the protocol of choice for shell access on remote computers. The Secure Shell protocol is both more secure than Telnet and more versatile than rlognid.

The Secure Shell protocol can also be used for tunneling a port. A tunnel is a secure channel used to transfer unencrypted data from a local computer port to a remote computer port. While encryption is like writing a message in code, tunneling is like speaking the message over an untraceptable telephone line. The information is protected by the channel through which it is traveling rather than by the format of the message.

Files are transferred in the context of a secure shell using the secure shell file transfer protocol. This protocol provides file access, management and transfer capabilities over any reliable data stream, such as an Ethernet connection. It was created by the Internet Engineering Task Force for use with secure shells, but can work with any secure channel. Other file transfer protocols that can be used with a secure shell include secure copy and files transferred over the shell (FISH) protocol.




Protect your devices with Threat Protection by NordVPN


Skip to content