feat(ssh): update laptop IP and add local/remote server host entries
- Update `laptop` host IP to `192.168.1.32` in `modules/user/base.nix`. - Add `server-local` SSH host configuration for `192.168.1.36`. - Add `server-remote` SSH host configuration for `roadtotech.me` on port `2222`.
This commit is contained in:
1 parent
fd74594012
commit
ff9c85d7a5
1 file changed
+15
-1
+15
-1
@@ -87,12 +87,26 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
laptop = {
|
laptop = {
|
||||||
HostName = "192.168.1.25";
|
HostName = "192.168.1.32";
|
||||||
User = "kiskaadee";
|
User = "kiskaadee";
|
||||||
Port = 22;
|
Port = 22;
|
||||||
ServerAliveInterval = 15;
|
ServerAliveInterval = 15;
|
||||||
ServerAliveCountMax = 3;
|
ServerAliveCountMax = 3;
|
||||||
};
|
};
|
||||||
|
server-local = {
|
||||||
|
HostName = "192.168.1.36";
|
||||||
|
User = "kiskaadee";
|
||||||
|
Port = 22;
|
||||||
|
ServerAliveInterval = 15;
|
||||||
|
ServerAliveCountMax = 3;
|
||||||
|
};
|
||||||
|
server-remote = {
|
||||||
|
HostName = "roadtotech.me";
|
||||||
|
User = "kiskaadee";
|
||||||
|
Port = 2222;
|
||||||
|
ServerAliveInterval = 15;
|
||||||
|
ServerAliveCountMax = 3;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user