in reply to perl Expect

You can use SSH with public key authentication, which removes the need for typing a password, thus making ssh much more scriptable. Maybe you have reasons for wanting a password, but just in case: How to set up ssh with public key authentication

Replies are listed 'Best First'.
Re^2: perl Expect
by redkar (Novice) on Aug 15, 2008 at 18:20 UTC
    yeah... what you said is absolutely correct...rsa authentication is the best way to do it....
    but what i am thinking is if one should propagate keys to a large number of servers then though less secure the best thing that came to my mind is to write an expect script to propagate the keys....
    As this is insecure i would like to know better ways to do it