refactor ssh names

This commit is contained in:
Daniel Langbein 2023-11-03 16:24:42 +01:00
parent fcf51fcde1
commit 5091885b81
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -7,7 +7,7 @@
enable = true; enable = true;
userKnownHostsFile = "~/.ssh/known_hosts ${../assets/ssh/known_hosts}"; userKnownHostsFile = "~/.ssh/known_hosts ${../assets/ssh/known_hosts}";
matchBlocks = { matchBlocks = {
"rootYodaHP" = { "rootHP" = {
hostname = "192.168.178.108"; hostname = "192.168.178.108";
user = "root"; user = "root";
port = 22; port = 22;
@ -33,13 +33,13 @@
port = 2224; port = 2224;
compression = true; compression = true;
}; };
"rootYodaYoga" = { "rootYoga" = {
hostname = "p1st.de"; hostname = "p1st.de";
user = "root"; user = "root";
port = 2224; port = 2224;
compression = true; compression = true;
}; };
"unlockYodaYoga" = { "unlockYoga" = {
hostname = "p1st.de"; hostname = "p1st.de";
user = "root"; user = "root";
port = 2225; port = 2225;
@ -81,7 +81,7 @@
port = 2226; port = 2226;
compression = true; compression = true;
}; };
"unlockYodaHedgehog" = { "unlockHedgehog" = {
hostname = "p1st.de"; hostname = "p1st.de";
user = "root"; user = "root";
port = 2227; port = 2227;
@ -95,13 +95,13 @@
port = 2222; port = 2222;
compression = true; compression = true;
}; };
"rootYodaNas" = { "rootNas" = {
hostname = "p1st.de"; hostname = "p1st.de";
user = "root"; user = "root";
port = 2222; port = 2222;
compression = true; compression = true;
}; };
"unlockYodaNas" = { "unlockNas" = {
hostname = "p1st.de"; hostname = "p1st.de";
user = "root"; user = "root";
port = 2223; port = 2223;