# How do you secure SSH? — retained record

> Retained reddit record from reddit:homelab.

Canonical: https://highsignal.app/data/records/6d83fec57f564bd1

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:homelab)  published 2026-10-27 12:55 ingested 2026-10-28 02:38

[original source ↗](https://www.reddit.com/r/homelab/comments/1xgrrq7/how_do_you_secure_ssh/)

## retained text



```
I have ssh access to two servers. About 10 days ago there were 19500 attempts to login to one of those two servers. How do you protect yourself? I have passwordless SSH (key auth), fail2ban, root login disabled and i changed port from 22 to some other. What more can be done?

Edit:   
Okey, from comments i understand that exposing SSH is not the best solution.  
  
So i have found an alternative, i have spare raspberry pi 5. Could i use RPI Connect as form of VPN? 
```



document fetched 2026-10-28 00:36 · canonical https://reddit.com/r/homelab/comments/1xgrrq7/how_do_you_secure_ssh
