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

Comprehensive Guide to Oracle, Microsoft SQL Server, PostgreSQL, and MongoDB: Download, Install, and Configure

Introduction to Oracle Database Oracle Database is a widely adopted relational database management system (RDBMS)…

3 weeks ago

Comprehensive Guide to MySQL: Download, Install, and Configure on Ubuntu and macOS

Introduction to MySQL MySQL is one of the most widely used open-source relational database management…

2 months ago

Deep Learning Applications: Factors to Consider in Choosing the Best Server

Deep learning is a type of artificial intelligence that teaches computers to learn from large…

3 months ago

Comprehensive Guide to OpenSSH: Secure Connectivity for Remote Login

OpenSSH or Open Secure Shell is a powerful suite of tools that provides secure remote…

5 months ago

Mastering VMware ESXi: An Ultimate Guide to Virtualization

Virtualization has become a cornerstone of modern IT infrastructure in today's digital era. Among the…

5 months ago

Setting a First Git Server: A ServerHub Comprehensive Guide

Welcome to ServerHub’s comprehensive guide on installing, setting up, and configuring your first Git server!…

6 months ago

This website uses cookies.