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

NGINX: High-performance Web Server and Reverse Proxy

NGINX has become one of the most popular web servers in the world, widely praised…

6 days ago

A Deeper Dive into Microsoft IIS: Real-World Uses, Developer Workflows & Competitors

When you’re working within Windows environments, you’ve likely crossed paths with IIS—short for Internet Information…

3 weeks ago

Microsoft IIS Installation & Troubleshooting Guide for Windows-Based Web Servers

When it comes to deploying web applications on a Windows-based system, Microsoft Internet Information Services…

1 month ago

PostgreSQL Deep Dive: Tools, Cloud, Performance, and Architectures

PostgreSQL (often called Postgres) is a powerful, open-source relational database management system (RDBMS) renowned for…

2 months ago

Introduction to PostgreSQL: Advanced Open-source Database

PostgreSQL is a robust, open-source object-relational database management system (ORDBMS), commonly referred to as Postgres.…

2 months ago

Introduction: What is Apache Hadoop?

What is Hadoop? Apache Hadoop is an open-source software framework designed for distributed storage and…

3 months ago

This website uses cookies.