Quote:
Originally Posted by sag2662
I will also try this, but with telnet can we also make changes to the configuration ?
|
You can type anything you want to the remote, including answers to prompts. In the example above:
Code:
echo enable
echo "$secret"
the "enable" prompts for the enable-secret, which is given on the next line.
But don't use telnet because the entire exchange goes over the network as plain text. Figure out how to do it over ssh.