Hello,
I would like to write a script that responds to a specific message.
Example: echo “reboot” | ssh user@ip
Returns the message “user@ip’s password:”
After the message is displayed, the script should enter a specific value.
Hello,
I would like to write a script that responds to a specific message.
Example: echo “reboot” | ssh user@ip
Returns the message “user@ip’s password:”
After the message is displayed, the script should enter a specific value.