SSH fix
This commit is contained in:
@@ -26,9 +26,8 @@
|
|||||||
pubkey = "NFBJvYXZC+bd62jhrKnM7/pugidWhgR6+C5qIiUiq3Q=";
|
pubkey = "NFBJvYXZC+bd62jhrKnM7/pugidWhgR6+C5qIiUiq3Q=";
|
||||||
server = {
|
server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
peers = ["avalon" "iriy" "valinor"];
|
|
||||||
forward = [
|
forward = [
|
||||||
[ "ens3" "10.10.1.2" "fd10:10:10::2" 2222 2222 ] # SSH
|
[ "ens3" "10.10.1.2" "fd10:10:10::2" 22 2222 ] # SSH/GIT
|
||||||
[ "ens3" "10.10.1.2" "fd10:10:10::2" 80 80 ] # HTTP
|
[ "ens3" "10.10.1.2" "fd10:10:10::2" 80 80 ] # HTTP
|
||||||
[ "ens3" "10.10.1.2" "fd10:10:10::2" 443 443 ] # HTTPS
|
[ "ens3" "10.10.1.2" "fd10:10:10::2" 443 443 ] # HTTPS
|
||||||
[ "ens3" "10.10.1.2" "fd10:10:10::2" 3979 3979 ] # OTTD
|
[ "ens3" "10.10.1.2" "fd10:10:10::2" 3979 3979 ] # OTTD
|
||||||
|
|||||||
@@ -20,9 +20,5 @@ in {
|
|||||||
openssh.authorizedKeys.keys = lib.unique (
|
openssh.authorizedKeys.keys = lib.unique (
|
||||||
lib.concatMap (u: if u ? pubssh then [ u.pubssh ] else []) userList
|
lib.concatMap (u: if u ? pubssh then [ u.pubssh ] else []) userList
|
||||||
);
|
);
|
||||||
}) activeUsers
|
}) activeUsers;
|
||||||
// {
|
|
||||||
root = {openssh.authorizedKeys.keys = [];};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user