Enable ssh service with launchctl in Macos (plist) (Autossh does not automatically restart ssh after sleeping/wakeup, so instead ssh is used.)
Put com.user.sshtunnel.plist in ~/Library/LaunchAgents
launchctl load com.user.sshtunnel
launchctl start com.user.sshtunnel
launchctl stop com.user.sshtunnel
launchctl remove com.user.sshtunnel