how i can use expect with scp to cancel password request ??? i want to write bash in UNIX OS

link|improve this question

feedback

1 Answer

up vote 3 down vote accepted

You don't. Use a key instead.

link|improve this answer
i know but in this task i want use expect command – Mohammad AL-Rawabdeh Dec 5 '10 at 7:02
If you want an answer about using expect you are going to have to justify why you think expect is the right tool or the job. – James Dec 5 '10 at 10:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.