I am trying to make a batch file which connects to my router via SSH and executes some commands. The batch file currently looks like:
ssh user@192.168.1.1
configure
etc.....
When I run the batch file the first line executes, and then the command window asks
user@192.168.1.1's password:
After inputting the password, the second line does not execute (I imagine this is obvious to someone who knows what they're doing)
I'm looking for a solution that either lets me manually enter the password and then lets the script continue, or one where the script enters the password itself.