What is the server hardening strategy when I use SSH tunneling?

leonz

New Member
May 15, 2023
3
0
1
Hello,

I am using Proxmox with SSH tunneling. I have disabled all outside ports and connections, except for access via SSH tunneling.


In this way, what is my strategy for server hardening?


My setup:
- disabled root login
- use ssh keys instead password
- do not change the default SSH port, because I do not accept connections apart from tunneling.
- use fail2ban

What should I add?
 
Very bad in a cluster. All cluster communication is done via root.

Don't allow SSH access at all from the internet, only VPN or allow only static ip clients.
I should re-enable root and set SSH access only through VPN, yes? Is there anything else?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!