nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 28daff108d437fd9421a852eaf290133902458b4
parent 11a6283aa7ac5caf7cb99979055e04f68a577997
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Thu,  5 Feb 2026 14:34:18 +0000

Fix longstanding SSH tunnel issue

Diffstat:
Mcommon/ssh-tunnel.nix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/ssh-tunnel.nix b/common/ssh-tunnel.nix @@ -8,7 +8,7 @@ wantedBy = [ "multi-user.target" ]; serviceConfig = { - ExecStart = "${pkgs.openssh}/bin/ssh -NTg -o ServerAliveInterval=30 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=accept-new -p ${toString sshport} -i ${privatekey} -R 55013:localhost:22 ${username}@${domain}"; + ExecStart = "${pkgs.openssh}/bin/ssh -NTg -o ServerAliveInterval=30 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=accept-new -p ${toString sshport} -i ${privatekey} -R 55013:localhost:${toString sshport} ${username}@${domain}"; Restart = "always"; RestartSec = "10s"; User = "${username}";