autossh -M 10984 -v -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -R 6889:localhost:22 user@rpi.local
The above command works. The one below doesn't.
autossh -M 10984 -E /home/pi/ssh.log -v -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -R 6889:localhost:22 user@rpi.local
It says,
/usr/lib/autossh/autossh: invalid option -- 'E'`
How can I specify a log file as the SSH option when passing it to autossh?