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

kitepilot at kitepilot.com kitepilot at kitepilot.com
Fri Mar 20 18:07:50 MST 2009


No, this won't do it.
It asks for a password. 

It will simplify a lot the job of sshpass though..    :) 

Maybe it wasn't THAT bad to ask anyway!          8)
Thanks!
ET 

 

Charles Jones writes: 

> man ssh-copy-id  :) 
> 
> -Charles 
> 
> kitepilot at kitepilot.com wrote:
>> 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
>>   
> 
> ---------------------------------------------------
> 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