Hello all, im new at the forum but kind of old using openwrt for routers and other aplications.
I have a bash scripton my computer running on centos 5.9, This script is made to make a custom configuration in some equipments that i use via ssh, but the equipments by default have a password, i cant use ssh keys because i only need to config the outof the box equipment to our needs and plug it off so i used a tool called ssh-pass (http://sourceforge.net/projects/sshpass/).
with this tool i can make commands like:
sshpass -p 'password' ssh admin@192.168.1.1 'reboot'
and run a lot of commands sending the password, if i dont have this tool i need to put the password every time a command its set.
Im not really sure how to do this, i need it running on openwrt, and i dont know where to start. Can you give me a hint?
Best regards.
Ps. on Centos i installed it via yum in case you wonder how i did it on the computer.
JB.
(Last edited by CyB3RMX on 9 Apr 2013, 16:29)