I need to write a script that runs ssh-copy-id to over 500 clients from one
master (setting up keys to use ansible).

I understand how to get my script to read each IP address in a list, use it
as input and then move on to the next, but not sure how to handle the
password feed, particularly as there will be a considerable delay in the
passwords request. Specifically:

$ssh-copy-id user@IPofClient

.... delay of as much as 90 or more seconds.....

user@IPofClient's password:


and I want the script to detect that password request and provide the
password (Same for all 500 + machines, so no issue there).



-- 

All internal models of the world are approximate. ~ Sebastian Thrun
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to