Question : automating ssh using expect

I have expect utility installed on my machine. How do I automate ssh using expect? I am doing ssh from both my shell script and Perl script.

Answer : automating ssh using expect

That's the reason I asked why you thought you needed to use expect.  It is very, very rare to need the use of ssh and expect together.
Random Solutions  
 
programming4us programming4us