Have just downloaded and installed this plugin on a fresh installation of OPNsense 22.7.6-amd64
The tunnel was created and worked initially, until the OPNsense device was restarted. Now attempts to reconnect fail due to errors in the config file. From the autossh plugin log:
When checking the autossh.conf file it looks as you would expect from those errors:
HostKeyAlgorithms host_key_algorithms_01,host_key_algorithms_02,host_key_algorithms_03,host_key_algorithms_04,host_key_algorithms_05,host_key_algorithms_06,host_key_algorithms_07,host_key_algorithms_08,host_key_algorithms_09,host_key_algorithms_10
KexAlgorithms kex_algorithms_01,kex_algorithms_02,kex_algorithms_03,kex_algorithms_04,kex_algorithms_05,kex_algorithms_06,kex_algorithms_07,kex_algorithms_08,kex_algorithms_09,kex_algorithms_10,kex_algorithms_11
PubkeyAcceptedKeyTypes pubkey_accepted_key_types_01,pubkey_accepted_key_types_02,pubkey_accepted_key_types_03,pubkey_accepted_key_types_04,pubkey_accepted_key_types_05,pubkey_accepted_key_types_06,pubkey_accepted_key_types_07,pubkey_accepted_key_types_08,pubkey_accepted_key_types_09,pubkey_accepted_key_types_10
etc etc. It seems that when creating or editing a tunnel from the web interface the config file is generated correctly but when created by configd using the templates it is not