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

Oracle Database: In-Depth Guide & FAQs (Simple, Clear and Includes “FAQs”)

What is Oracle Database? Oracle Database is a powerful, multi-model database management system developed by…

2 weeks ago

Fail2Ban: Protect Your Linux System from Brute-Force Attacks – Open-Source Security Tool

Fail2Ban is an intrusion prevention software framework, written in the Python programming language. It is…

4 weeks ago

ISPConfig: The Open-Source Control Panel for Effortless Web Hosting Management

ISPConfig is an open-source hosting control panel for managing web hosting services. It provides a…

1 month ago

FirewallD: Dynamic Firewall Manager – A ServerHub Comprehensive Guide

Firewalld is a dynamic firewall management tool for Linux systems that simplifies network traffic control…

2 months ago

Learn About Let’s Encrypt: A Free SSL/TLS Certificate Provider

Let's Encrypt is a nonprofit certificate authority offering free, automated, and open digital certificates for…

3 months ago

Cloudflare: Content Delivery Network and DDoS Mitigation for Website Performance and Security

In today’s digital world, speed, security, and reliability are paramount when it comes to delivering…

3 months ago

This website uses cookies.