Palo alto CLI issue

Hello,

When trying to get automatic updates using SSH with my Palo alto, I'm having issues with the script, whenever it attempts to do the @login .

The issue is, the Palo Alto has a user agreement that you're supposed to write "yes" to, between the username prompt and the password prompt. I tried playing around in the "Configuration Management CLI settings" but I'm getting nowhere. Does anyone know how to go around this issue?

 

Thank you