OpenSSH
Installation
Secure shell is an encrypted network protocol that allow remote login securly. If you have no idea what Secure Shell is, read this before we start.
Normally the client and server are installed by default. If not it suffices to run:
Simple Configuration
The main configuration files are in the directory /etc/ssh:
ssh_config : client configuration file sshd_config : server configuration file
We will only cover the server configuration in this manual.
Open /ect/ssh/sshd_config for editing.
For security, change the listening port instead of default TCP port 22 as such:
Ensure that PermitRootLogin is set to no in sshd_config (we use sudo-user only):
Start your SSH service.
NOTE: After any configuration, always restart server to apply your changes.
Last updated