diff --git a/services/autossh.nix b/services/autossh.nix index cf72b84..2345d84 100644 --- a/services/autossh.nix +++ b/services/autossh.nix @@ -39,7 +39,7 @@ in -o ServerAliveInterval=10 \ -o ExitOnForwardFailure=yes \ -o UserKnownHostsFile=${trustedHostsFile} \ - -R ${remoteListenHost}:${toString remoteListenPort}:${localHost}:${toString localPort} \ + -R ${toString remoteListenPort}:${localHost}:${toString localPort} \ -i ${sshKeyPath} \ -p ${toString sshPort} \ ${sshUser}@${sshHost}