We have enable mode which asks for password. How can i provide password if doing it via script?
Here is the script referred from user guide:
#!/bin/sh /usr/local/bin/confd_cli -u admin -U 1000 -g admin -n -v -C<< EOF enable configure set foo bar 13 set funky stuff 44 commit #exit no-confirm exit EOF
It connects and does not prompt for password. Like:
localhost> enable Password: % Bad password localhost> set foo bar 13 ... ...