On Thu, 19 Oct 2023 at 12:23, Yuri <yuri@xxxxxxxxx> wrote: > I need to run ssh client(s) as services on BSD. > > The service should: > * start the ssh tunnel under a proper user when the system starts > * restart it when the tunnel breaks > * use proper ssh keys and configurations for connections That sounds (at least partly) like AutoSSH. In the past I've also used inetd to invoke "ssh -W" or the equivalent thereof to bring up tunnels on demand. -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev