feat(servers): allow only connections from heimdall.
This commit is contained in:
parent
f303440eb1
commit
e88bccf101
@ -2,7 +2,7 @@
|
|||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
AllowUsers = ["root" "crony"];
|
AllowUsers = ["root@65.21.241.194" "root@172.16.0.2" "crony@65.21.241.194" "crony@172.16.0.2"];
|
||||||
X11Forwarding = false;
|
X11Forwarding = false;
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user