feat: import horsch config
This commit is contained in:
parent
0cf5c3433e
commit
428b91c3d5
45 changed files with 1510 additions and 0 deletions
65
horsch/ssh.nix
Normal file
65
horsch/ssh.nix
Normal file
|
@ -0,0 +1,65 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs = {
|
||||
ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
SmartCAN = {
|
||||
host = "smartcan 192.168.5.1";
|
||||
user = "root";
|
||||
hostname = "192.168.5.1";
|
||||
checkHostIP = false;
|
||||
extraOptions = {
|
||||
StrictHostKeyChecking = "no";
|
||||
UserKnownHostsFile = "/dev/null";
|
||||
LogLevel = "ERROR";
|
||||
};
|
||||
};
|
||||
Fusion-USB = {
|
||||
host = "fusion-usb fusion 172.16.0.1";
|
||||
user = "root";
|
||||
hostname = "172.16.0.1";
|
||||
checkHostIP = false;
|
||||
extraOptions = {
|
||||
StrictHostKeyChecking = "no";
|
||||
UserKnownHostsFile = "/dev/null";
|
||||
LogLevel = "ERROR";
|
||||
};
|
||||
};
|
||||
Fusion-Wifi = {
|
||||
host = "fusion-wifi 172.16.1.1";
|
||||
user = "root";
|
||||
hostname = "172.16.1.1";
|
||||
checkHostIP = false;
|
||||
extraOptions = {
|
||||
StrictHostKeyChecking = "no";
|
||||
UserKnownHostsFile = "/dev/null";
|
||||
LogLevel = "ERROR";
|
||||
};
|
||||
};
|
||||
Fusion-TX = {
|
||||
host = "fusion-tx 10.100.30.160";
|
||||
user = "root";
|
||||
hostname = "10.100.30.160";
|
||||
checkHostIP = false;
|
||||
extraOptions = {
|
||||
StrictHostKeyChecking = "no";
|
||||
UserKnownHostsFile = "/dev/null";
|
||||
LogLevel = "ERROR";
|
||||
};
|
||||
};
|
||||
hcvpnde = {
|
||||
host = "hcvpnde hcvpnde.horsch.com";
|
||||
hostname = "hcvpnde.horsch.com";
|
||||
};
|
||||
smartcan-vpn = {
|
||||
host = "smartcan3-*";
|
||||
user = "root";
|
||||
proxyJump = "hcvpnde";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue