in reply to scp and ssh without passwd
I'm not sure this is what you're asking, but when prompting for password I just use system stty -echo in the expect script, and use send_user to give me any output I need to see.
For the actual ssh session: spawn -noecho ssh $hostname should work nicely.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: scp and ssh without passwd
by perlknight (Pilgrim) on Feb 27, 2002 at 20:55 UTC |