in reply to Re: scp and ssh without passwd in thread scp and ssh without passwd
Koodoes to you tempehjunkie!!!. Yes this is what I was looking for; $object->slave_pty->stty('-echo'); and $object->slave_pty-stty('echo');
Yes, on some occasion your really need expect to do the job. In particalar the realms of Administrations, If you have to reset root's password on over 100 servers, then I don't expect you to sit down and log into every one and reset them. I think not :-), this is where Expects comes in. I used it in conjuction with ssh. I also use Expect to do the initiall Private and Public keys stuff so that I may login later without providing password. Thanks to all for participating in this thread.
|