To have a program to "type" a username/password for me. How?

kitepilot at kitepilot.com kitepilot at kitepilot.com
Fri Mar 20 17:45:58 MST 2009


Another option:
http://www.cyberciti.biz/faq/noninteractive-shell-script-ssh-password-provid 
er/
Boy, am I embarrassed...
ET 

 

kitepilot at kitepilot.com writes: 

> To have a program to "type" a password for me. How?
> Hello widespread wisdom...  
> 
> I want to propagate public keys to several dozens of puters so I can login 
> passwordless.  
> 
> I am not looking forward to typing (or cut'n pasting) a password a gazillion 
> times.  They all have the same username/password combination.  
> 
> I know that expect can be used to "type" a password (or to fool passwd to 
> change a password without manual intervention), but I don't know how.  
> 
> What I want is ti fire a loop to copy my keys to all the machines and to 
> have the program to "type" the username and the password to free me up from 
> the dull stuff.  
> 
> This *HAS* to be possible, does anybody know how?
> Thanks!   :)
> ET  
> 
> PS: No, I haven't researched this, this question is the beginning of my 
> research...
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list