teach accounts on servers about custom ports on other servers
Some checks failed
use nix / build (push) Failing after 3m35s
Some checks failed
use nix / build (push) Failing after 3m35s
This commit is contained in:
parent
82d709e8e7
commit
4bc3af149e
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue