teach accounts on servers about custom ports on other servers
Some checks failed
use nix / build (push) Failing after 3m35s

This commit is contained in:
Cyryl Płotnicki 2024-08-24 22:17:00 +01:00
parent 82d709e8e7
commit 4bc3af149e

View file

@ -24,6 +24,15 @@ in {
};
};
programs.ssh.extraConfig = ''
Host cupsnet.cyplo.dev
HostName cupsnet.cyplo.dev
Port 2222
Host cupsnet cupsnet.raptor-carp.ts.net
HostName cupsnet.raptor-carp.ts.net
Port 2222
StrictHostKeyChecking=accept-new
'';
users.extraUsers.root.openssh.authorizedKeys.keys = authorizedKeys;
users.users.nix-builder = {
isNormalUser = true;