From bdbf5ed2286a9b9e5425680f34d9ba942e6e0434 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Thu, 1 Jan 2026 20:45:31 -0500 Subject: [PATCH] FreeBSD --- freebsd/12_post-installation.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/freebsd/12_post-installation.md b/freebsd/12_post-installation.md index 7aa525c..4a30220 100644 --- a/freebsd/12_post-installation.md +++ b/freebsd/12_post-installation.md @@ -13,3 +13,15 @@ pkg bootstrap pkg update pkg upgrade ``` + +### 2. Security Hardening + +#### SSH + +Edit /etc/ssh/sshd_config: + +``` sh +PermitRootLogin no +PasswordAuthentication no +PubkeyAuthentication yes +```