7

Login, excute command, logout Script Help

view full story
linux-howto

http://www.unix.com – Good Evening all, After spending the last week or so reading many posts I decided to register and join in. This is my first post on the forum so please forgive me as im new to this, Im after some help in throwing together a quick basic script without using expect to change the password on several routers. All i need to do is below ssh username@hostname then you will be prompted for a password so the script needs to enter the password. Commands that need entering password change then you will be prompted for current password so script to enter current password you will then be pro (HowTos)