config-perso/modules/ssh.nix

80 lines
1.8 KiB
Nix
Raw Normal View History

2024-03-17 11:31:42 +01:00
{
programs.ssh = {
enable = true;
compression = true;
serverAliveCountMax = 1;
serverAliveInterval = 10;
matchBlocks = {
"*" = {
setEnv."TERM" = "xterm-256color";
};
"watcher.kat" = {
2024-06-18 09:47:57 +02:00
user = "root";
2024-03-17 11:31:42 +01:00
hostname = "watcher.katvayor.net";
};
2024-06-27 16:59:33 +02:00
"manah.kat" = {
2024-03-17 11:31:42 +01:00
user = "root";
2024-03-26 16:06:08 +01:00
hostname = "100.102.49.84";
2024-03-17 11:31:42 +01:00
};
2024-03-18 20:26:22 +01:00
"test.kat" = {
user = "root";
hostname = "100.102.129.187";
};
2024-03-17 11:31:42 +01:00
2024-03-20 10:07:21 +01:00
"virt.kat" = {
user = "root";
2024-03-27 17:35:34 +01:00
hostname = "fe80::2%%virbr0";
2024-06-27 16:59:33 +02:00
proxyJump = "manah.kat";
2024-03-20 10:07:21 +01:00
};
2024-06-19 08:34:47 +02:00
"mail-test.kat" = {
2024-05-06 15:00:43 +02:00
user = "root";
hostname = "fe80::3%%virbr0";
2024-06-27 16:59:33 +02:00
proxyJump = "manah.kat";
2024-05-06 15:00:43 +02:00
};
2024-06-01 16:26:08 +02:00
"traque.kat" = {
user = "root";
hostname = "fe80::4%%virbr0";
2024-06-27 16:59:33 +02:00
proxyJump = "manah.kat";
2024-06-01 16:26:08 +02:00
};
2024-06-25 10:54:31 +02:00
"son.kat" = {
user = "root";
hostname = "fe80::5%%virbr0";
2024-06-27 16:59:33 +02:00
proxyJump = "manah.kat";
2024-06-25 10:54:31 +02:00
};
2024-03-20 10:07:21 +01:00
2024-03-17 11:31:42 +01:00
"sas.ens" = {
user = "lbailly";
hostname = "sas.eleves.ens.fr";
};
"degette.ens" = {
user = "dg";
hostname = "www.dg.ens.fr";
proxyJump = "sas.ens";
};
"bocal.ens" = {
user = "bocal";
hostname = "fregate";
proxyJump = "sas.ens";
};
2024-03-22 14:24:31 +01:00
2024-05-24 13:32:41 +02:00
"netcore02.dgn" = {
2024-03-22 14:24:31 +01:00
user = "root";
2024-05-24 13:32:41 +02:00
hostname = "fd26:baf9:d250:8000::1001";
2024-07-09 11:17:04 +02:00
proxyJump = "vault01.dgnum";
2024-05-24 13:32:41 +02:00
identityFile = "~/.ssh/juniper";
};
"netaccess01.dgn" = {
user = "root";
hostname = "fd26:baf9:d250:8000::2001";
2024-07-09 11:17:04 +02:00
proxyJump = "vault01.dgnum";
2024-03-22 14:24:31 +01:00
identityFile = "~/.ssh/juniper";
};
2024-04-07 09:34:00 +02:00
"vault01.dgnum" = {
user = "root";
2024-07-09 11:17:04 +02:00
hostname = "vault01.hyp01.infra.dgnum.eu";
2024-04-07 09:34:00 +02:00
};
2024-03-17 11:31:42 +01:00
};
};
}