fixes server ssh config
This commit is contained in:
parent
b4b3af95c4
commit
51e40de74e
2 changed files with 33 additions and 1 deletions
32
modules/ssh/server.nix
Normal file
32
modules/ssh/server.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"dnsc-server" = {
|
||||
hostname = "100.103.199.4";
|
||||
user = "dennis";
|
||||
identityFile = "/Users/dennis/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"dnsc-server-i" = {
|
||||
hostname = "192.168.178.69";
|
||||
user = "dennis";
|
||||
identityFile = "/Users/dennis/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"dnsc-vps-sm" = {
|
||||
hostname = "100.65.82.77";
|
||||
user = "dennis";
|
||||
identityFile = "/Users/dennis/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
"dnsc-storage" = {
|
||||
hostname = "u295965.your-storagebox.de";
|
||||
user = "u295965";
|
||||
identityFile = "/Users/dennis/.ssh/id_ed25519";
|
||||
identitiesOnly = true;
|
||||
port = 23;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue