Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2018 06:23:14 +0100
From:      Steve O'Hara-Smith <>
Cc:        "James B. Byrne via freebsd-questions" <>
Subject:   Re: FreeBSD-11.1p10 and autossh
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, 14 Jun 2018 11:27:19 -0400
"James B. Byrne via freebsd-questions" <>

> I cannot seem to configure autossh to work from anything other than
> the command line, which defeats the purpose. I would like it to
> automatically start when the system boots but I have been unsuccessful
> in all my attempts to date. I have tried adding this in rc.conf:
> autossh -M0 -f -i /root/.ssh/id_ed25519 -L 143:localhost:143
> root@

	Nooooo don't do that rc.conf gets sourced all over the place.

	Put it in /etc/rc.local or in some user's crontab with @reboot
instead. I use the latter to maintain a set of tunnels for incoming
connections to my LAN <mumble>PITA ISP filters</mumble>.

Steve O'Hara-Smith <>

Want to link to this message? Use this URL: <>