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