1
0
Fork 0
dotfiles/home/programs/ssh/shared/private.nix

62 lines
1.2 KiB
Nix
Raw Normal View History

2022-08-08 21:43:47 +00:00
{
matchBlocks = {
"github.com" = {
port = 22;
user = "git";
identityFile = "~/.ssh/GitHub.pub";
identitiesOnly = true;
compression = true;
};
"gitlab.com" = {
port = 22;
user = "git";
identityFile = "~/.ssh/GitLab.pub";
identitiesOnly = true;
compression = true;
};
"router" = {
hostname = "10.0.0.1";
port = 22;
user = "root";
extraOptions = {
PreferredAuthentications = "password";
};
};
"nas" = {
hostname = "10.0.0.100";
port = 22;
user = "daniel";
identityFile = "~/.ssh/LAN.pub";
identitiesOnly = true;
};
"piboat.lan" = {
port = 22;
user = "pi";
identityFile = "~/.ssh/LAN.pub";
identitiesOnly = true;
};
"adsb-antenna" = {
hostname = "adsb-antenna.laniot";
port = 22;
user = "daniel";
forwardAgent = true;
identityFile = "~/.ssh/LAN.pub";
identitiesOnly = true;
};
"sail" = {
2023-03-12 19:53:03 +00:00
hostname = "100.113.242.85";
2022-08-08 21:43:47 +00:00
port = 22;
user = "daniel";
forwardAgent = true;
identityFile = "~/.ssh/Hetzner.pub";
identitiesOnly = true;
};
};
}