tin vip vai lon

This commit is contained in:
Asaki Yuki 2026-04-13 22:37:37 +07:00
parent 5760ed4067
commit 4737199992
10 changed files with 148 additions and 110 deletions

View file

@ -0,0 +1,21 @@
{ ... }:
{
services.openssh = {
enable = true;
ports = [ 15523 ];
authorizedKeysInHomedir = true;
authorizedKeysFiles = [ "/home/asakiyuki/.ssh/authorized_keys" ];
settings = {
AllowUsers = [
"asakiyuki"
"junko"
];
PasswordAuthentication = true;
KbdInteractiveAuthentication = false;
AllowAgentForwarding = false;
AllowStreamLocalForwarding = false;
X11Forwarding = false;
PermitRootLogin = "no";
};
};
}