Add some servers to ssh config

This commit is contained in:
Erwin Boskma 2022-11-19 17:23:14 +01:00
parent 449ebba3f9
commit e243bba75d
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU

View file

@ -18,7 +18,7 @@ in
hashKnownHosts = true; hashKnownHosts = true;
matchBlocks = { matchBlocks = {
"*" = { "*" = {
identityFile = personalKey; identityFile = (if var.workSystem then horusKey else personalKey);
identitiesOnly = true; identitiesOnly = true;
extraOptions = { extraOptions = {
Ciphers = "chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr"; Ciphers = "chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr";
@ -84,6 +84,17 @@ in
"gitea.bedum.horus.nu" = { "gitea.bedum.horus.nu" = {
forwardAgent = true; forwardAgent = true;
}; };
monitoring = {
hostname = "monitoring.internal.horus.nu";
identityFile = horusKey;
};
buildserver2 = {
hostname = "buildserver2.bedum.horus.nu";
user = "horus";
identityFile = horusKey;
};
}; };
}; };
}; };