config-perso/modules/ssh.nix

90 lines
2 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-10-03 23:40:15 +02:00
hostname = "10.42.0.1";
proxyJump = "watcher.kat";
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-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-08-07 17:26:34 +02:00
"orchid.kat" = {
user = "root";
hostname = "fe80::6%%virbr0";
proxyJump = "manah.kat";
};
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-10-02 14:28:37 +02:00
"moderate.ens" = {
user = "moderate";
hostname = "sas.eleves.ens.fr";
};
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-08-22 17:13:14 +02:00
"bridge01.dgnum" = {
2024-07-10 15:24:51 +02:00
user = "root";
hostname = "fd26:baf9:d250:8000::ffff";
proxyJump = "vault01.dgnum";
};
2024-10-19 15:35:36 +02:00
"krz01.dgnum" = {
user = "root";
hostname = "129.199.146.21";
};
2024-03-17 11:31:42 +01:00
};
};
}