On Fri, Nov 30, 2012 at 1:30 AM, Devendra Gupta <[email protected]>wrote:

> I have a shell script in which I am doing ssh to several other machies but
> the problem is that the hosts require to add a key in the script invoking
> machine.. to resolve it I added a swith "-o StrichHostKeyChecking=no" and
> now its not asking to add key. But another thing I need to automate is that
> passing username password for remote host in the same script so that I do
> not need to enter it manually. Please suggest me a way, help guidance would
> be highly appreciated.
>
>
>
Why not use password less login as in authorized_keys ?

-- 
Regards,
Balasubramaniam Natarajan
www.blog.etutorshop.com

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to