I am using expect and ssh together. When I run the expect script myself (in a normal environment), everything works fine. If I run the expect script in the environment it needs to run in (unknown) it doesn't start. The sad part is that it doesn't spit out anything useful like, "I didn't find XYZ environment variable, and I hate you." I just dies. Does anyone know why it would 'just die'? No login prompt, nothing. Just dead. What env vars do I need to make this thing work?
