How to block prompts before sshpass login

the server tends to preset some pre-login prompts before entering the user"s password. In sshpass, when you encounter this kind of server, using ssh-p "password" will also type the pre-login prompt, resulting in unable to log in normally. How can you block this information? is there any relevant parameter control?

Apr.28,2021
Menu