Categories: Linux Administration

How Do I Change the SSH Port on my Server?

To Change the SSH Port for Your Linux Server

  1. Connect to your server via SSH
  2. Switch to the root user
  3. Run the following command:vi /etc/ssh/sshd_config
  4. Locate the following line:# Port 22
  5. Remove # and change 22 to your desired port number.
  6. Restart the sshd service by running the following command: service sshd restart

serverhub

Recent Posts

Introduction: What is Apache Hadoop?

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

2 days ago

A Comprehensive Guide to Microsoft SQL Server

What is Microsoft SQL Server? Microsoft SQL Server is a relational database management system (RDBMS)…

3 weeks ago

Prometheus: Powerful Open-Source Monitoring & Alerting Toolkit

Welcome to the wild world of Prometheus monitoring! If you've ever wondered how to make…

1 month ago

A Comprehensive Guide to Zabbix: Installation, Configuration, and Monitoring

What is Zabbix? For seamless IT operations, Zabbix provides real-time monitoring, alerting, and visualization tools.…

2 months ago

Unlocking the Power of Splunk: A Comprehensive Guide

Splunk is a cutting-edge data analytics platform designed to search, monitor, and analyze machine-generated data…

2 months ago

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…

3 months ago

This website uses cookies.