I am using autossh to create reverse tunnels for a number of hosts. But I would like to write a message to a logfile at the server when it connects.
An example: