If the ssh command prompts you for a password you can just press enter (a blank password). Or you can type in something random and press enter.
For long running tunnels with auto-reconnect, generate an ssh key.
In your terminal / command prompt run: ssh-keygen
Press Enter key (Return key) till the command finishes.
After this the ssh command will no longer ask for a password.
