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

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!…

1 day ago

The Procedures on How to Create and Spin Up a Deep Learning Server, and How to Power GPU in a Server

In the areas of artificial intelligence and machine learning, deep learning has emerged as a…

2 weeks ago

Git Servers: A Complete Guide for Migrating and Moving a Git Repository From One Server to Another Server

Git is a popular version control system that allows teams to track changes, merge code,…

4 weeks ago

OpenVPN Access Server: A Comprehensive Guide for Creation, Connection, and Installation

OpenVPN serves as a secure communication protocol and software application for creating encrypted virtual private…

2 months ago

The Importance and Benefits of Dedicated Servers for Mobile App Development and Hosting

Mobile application development and hosting are two essential aspects of creating and delivering a successful…

3 months ago

How to Do the Basic Procedures in cPanel for Dedicated Servers

cPanel is a Linux-based control panel that provides a user-friendly dashboard to manage web hosting.…

4 months ago

This website uses cookies.