From 23f72c3c2e99ceb9db629a54b2911ec543d7af81 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 18 Jun 2023 18:46:34 +0000 Subject: [PATCH] fix: cloudflare tunnel failed to match ssh mac --- modules/nixos/services/cloudflare-tunnel.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nixos/services/cloudflare-tunnel.nix b/modules/nixos/services/cloudflare-tunnel.nix index 19833a4..8ee75a7 100644 --- a/modules/nixos/services/cloudflare-tunnel.nix +++ b/modules/nixos/services/cloudflare-tunnel.nix @@ -48,6 +48,8 @@ in { # if there is no existing AuthenticationMethods AuthenticationMethods publickey ''; + services.openssh.settings.Macs = + [ "hmac-sha2-512" ]; # Fix for failure to find matching mac # Create credentials file for Cloudflare secrets.cloudflared = {