Setup SSH in GNU/Linux

SSH is available in any of the GNU/Linux operating system for remote access. This section guides you on how to setup SSH in GNU/Linux operating system.

Installation

There are 2 kinds of setup for SSH:

  • client - for interfacing a server.
  • server - for hosting SSH sessions.

SSH Client

To install SSH client, you execute the following command:

$ apt install openssh-client

SSH Server

To install SSH server, you execute the following command:

$ apt install openssh-server

Once the installation is completed, you should configure them accordingly based on the security requirements. That's all for installing SSH.