Hosting Tutorials

Search results for:


Table of Contents


Prerequisites
Choosing a New SSH Port
How to Change Your Default SSH Port
Step 1: Update the SSH Configuration File
Step 2: Update Firewall Rules
Step 3: Restart the SSH Service
Step 4: Test the New SSH Port
Step 5: Make SSH Connections Easier (Optional)
Locking Down SSH Access
Disable Root Login
Use SSH Key Authentication
Set Up Fail2Ban or Similar Tools
Keep SSH and Your OS Updated
Monitor Login Activity
Limit SSH Access with IP Whitelisting

How To Change Your SSH Port

Tags: VPS 

Prerequisites
Choosing a New SSH Port
How to Change Your Default SSH Port
Step 1: Update the SSH Configuration File
Step 2: Update Firewall Rules
Step 3: Restart the SSH Service
Step 4: Test the New SSH Port
Step 5: Make SSH Connections Easier (Optional)
Locking Down SSH Access
Disable Root Login
Use SSH Key Authentication
Set Up Fail2Ban or Similar Tools
Keep SSH and Your OS Updated
Monitor Login Activity
Limit SSH Access with IP Whitelisting

Written by Michael Brower  /  June 23, 2017