Categories: Linux Administration

How to Secure SSH

In this post, you will learn how to secure SSH on your Bare Metal Server.

Securing SSH on your server is quick and easy, to secure the server , we would disable direct root login. That could be done via  sshd_config file.

Here Protocol 2 needs to be used which is more secure.

Refer the following steps for the same:-

1)      vi /etc/ssh/sshd_config
2) Change Protocol 2,1 to Protocol 2
4) PermitRootLogin yes = no
5) Restart SSHD: /etc/rc.d/init.d/sshd restart

Thats it! Your SSH is now secure.

serverhub

Recent Posts

A Comprehensive Migrate WordPress to VPS Guide for Beginners

A live WordPress (WP) website is an active website that is already accessible to visitors,…

2 days ago

Puppet Software: Explained: A Beginner’s Guide to Configuration Management and Setup

As IT environments grow, managing hundreds or even thousands of systems manually become difficult and…

1 month ago

A Beginner’s Guide to Building a Network Monitoring System for Windows and Linux Systems

In this article, we'll discuss the purpose of a network monitoring system, its relationship with…

2 months ago

Elasticsearch Software: A User-Friendly Guide to Features, Use Cases and Installation Across Platforms

A distributed search and analytics engine (e.g., Elasticsearch Software) is a system designed to store,…

3 months ago

Grafana Explained: Installation, Setup, and Dashboard Guide for Linux, Windows and macOS

Grafana is an open-source analytics and monitoring platform designed to visualize time-series data through interactive…

4 months ago

Redis Explained: A Beginner’s Guide to an Effective Data Storage System

Redis (Remote Dictionary Server) is an open-source, in-memory data structure store used as a database,…

5 months ago

This website uses cookies.