2024-11-09 14:02:26 +00:00
|
|
|
{ ... }:
|
|
|
|
{
|
2024-10-31 08:24:05 +00:00
|
|
|
services.openssh.enable = true;
|
2024-10-30 08:06:52 +00:00
|
|
|
services.openssh.settings = {
|
2024-10-31 08:28:33 +00:00
|
|
|
PermitRootLogin = "yes";
|
2024-10-31 08:28:16 +00:00
|
|
|
PasswordAuthentication = false;
|
2024-10-30 08:06:52 +00:00
|
|
|
};
|
2024-11-08 07:48:56 +00:00
|
|
|
programs.ssh.knownHosts = {
|
2024-11-17 07:26:37 +00:00
|
|
|
"git.chir.rs".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE+GanuiV1I08OP8+nNy24+zagQN08rtJnCoU/ixiQNn";
|
2024-11-08 07:48:56 +00:00
|
|
|
"instance-20221213-1915.int.chir.rs".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE+GanuiV1I08OP8+nNy24+zagQN08rtJnCoU/ixiQNn";
|
2024-11-17 07:26:37 +00:00
|
|
|
"nas.int.chir.rs".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhao1I1Kd1gK5bERUdjMxP9yHDrSHYZsTN2TcSk0K/U";
|
2024-11-08 07:48:56 +00:00
|
|
|
"not522.tailbab65.ts.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILpOcmvVODaja3wDdnocb/k6MK7vsh5uH8gpeHR9+/rY";
|
2024-11-17 07:26:37 +00:00
|
|
|
"rainbow-resort.int.chir.rs".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII9MczPuvEh9XaT6e3emfC+WyMYEpyRu2jDUkt3bBk8W";
|
2024-11-08 07:48:56 +00:00
|
|
|
};
|
2024-11-09 14:02:26 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
2024-10-30 08:06:52 +00:00
|
|
|
}
|