I know what I'm trying to accomplish, I just need to be pointed in the right direction.
I'm trying to write a bash file to backup a router's settings once a month. The problem is... sonicwall have an annoying way of logging in. You can't just pass your username and password in via SSH, you have to enter it again. (here for example:http://tinyurl.com/atawg5l)
I know I should be somehow telling the bash file to "enter" strings or should I be using "expect"?
Either way, it's just the login which is kicking me to the curb, the backup command is pretty easy...
#