From 82159d8120d049440697fcbe7f0929f80eeea30d Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 15 Jul 2025 15:24:42 +0800 Subject: sshd config restrict only from wg ip to insp gitolite user --- etc/ssh/sshd_config | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config index 6a9a4670..d5d12057 100644 --- a/etc/ssh/sshd_config +++ b/etc/ssh/sshd_config @@ -9,6 +9,7 @@ KbdInteractiveAuthentication no UsePAM yes # when ssh into this remote server, client if use alacritty need `SendEnv COLORTERM` to send the env to server, so server ls can default output color, more see comments in my alacritty.toml config AcceptEnv COLORTERM +AllowUsers gitolite@10.0.0.0/24 # Include drop-in configurations Include /etc/ssh/sshd_config.d/*.conf -- cgit v1.2.3-70-g09d2