Friday, November 23, 2012

What would you Expect?

Catchy title for a boring task. I've been tasked to collect patch status reports for over a minimum of 120 linux servers and change the support password that we used to login. And you're not allowed to use key-based authentication for ssh in order to log myself in each and one of the servers.

Deploying my public over a minimum of 120 linux servers is a pain. I've heard about expect from a friend who told me that you could automate almost everything with expect. From spawning the initial ssh session to the password input. Is that cool or is that cool.

No comments: