From b0b6a70163e7834ede2ca539ad683b1999d615e7 Mon Sep 17 00:00:00 2001 From: pr3c0g Date: Mon, 12 Aug 2024 14:01:20 +0100 Subject: [PATCH] Updated macOS 13 (Ventura) & 14 (Sonoma) (markdown) --- macOS-13-(Ventura)-&-14-(Sonoma).md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/macOS-13-(Ventura)-&-14-(Sonoma).md b/macOS-13-(Ventura)-&-14-(Sonoma).md index 312619e..2b84c87 100644 --- a/macOS-13-(Ventura)-&-14-(Sonoma).md +++ b/macOS-13-(Ventura)-&-14-(Sonoma).md @@ -13,8 +13,7 @@ ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" awk '$5 >= 3071' /etc/ssh/moduli > /etc/ssh/moduli.safe mv /etc/ssh/moduli.safe /etc/ssh/moduli ``` -3. Enable the RSA and ED25519 keys -Enable the RSA and ED25519 HostKey directives in the /etc/ssh/sshd_config file: +3. Enable the RSA and ED25519 HostKey directives in the /etc/ssh/sshd_config file ``` sed -i .orig 's/^\#HostKey \/etc\/ssh\/ssh_host_rsa_key/HostKey \/etc\/ssh\/ssh_host_rsa_key/' /etc/ssh/sshd_config sed -i .orig 's/^\#HostKey \/etc\/ssh\/ssh_host_ed25519_key/HostKey \/etc\/ssh\/ssh_host_ed25519_key/' /etc/ssh/sshd_config