fix: small ssh-proxy fixes
This commit is contained in:
4 files changed
+61
-6
No files matched your search
@@ -20,6 +20,7 @@ let
|
||||
user = "root";
|
||||
host = "ssh.example.com";
|
||||
asOutbound = true;
|
||||
serviceUser = "proxy";
|
||||
identityFile = "/run/secrets/ssh-key";
|
||||
knownHostsFile = "/run/secrets/ssh-known-hosts";
|
||||
extraArgs = [
|
||||
@@ -245,6 +246,10 @@ let
|
||||
assert pkgs.lib.hasInfix "ServerAliveInterval=30" sshStartScript;
|
||||
true
|
||||
)
|
||||
(
|
||||
assert sshService.serviceConfig.User == "proxy";
|
||||
true
|
||||
)
|
||||
(
|
||||
assert !(sshService.serviceConfig ? SocketMark);
|
||||
true
|
||||
|
||||
Reference in new issue
Block a user