execution problem

Hi

i am using expect module and trying to login using following code.

ssh 127.0.0.1
expect "word:"
send "$password \n"

kindly let me know the login script using expect module

hi,

have a look at discussion "Expect script - going in loops can't stop" in "The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting"