Why I can't run ssh tunnel on startup?

I would try to delay the command execution like it was discussed here.
If you're concerned about the known_hosts file you could probably check this file in your script and store the result in the same log.

2 Likes