Solved

how to login to multiple system after giving password once ?

Posted on 2008-10-27
5
210 Views
Last Modified: 2010-04-21
I need to add my public key to authorized_keys in 1000 machines, and going individual to each machine is very tedious.
Is there a way or any tools which help me to type my password once and let me login automatically.

like: for i in $(cat machinelist); do autopassword ssh $i "top"; done

where autopassword is tool which will supply "yes" to host authentication and password to "n-1" host after typing my password only once(first host) ?
Can I have some tool/tick to achieve this environment ?
0
Comment
Question by:beer9
5 Comments
 
LVL 3

Expert Comment

by:Saranyakkali
ID: 22810968
we use power broker tool, which is very nice and user frendly..

please verify bellow:
http://www.power-broker.com/
0
 
LVL 22

Expert Comment

by:mutahir
ID: 22811112
0
 
LVL 6

Expert Comment

by:peter991
ID: 22811658
Expect is a good tool to.

http://en.wikipedia.org/wiki/Expect
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 250 total points
ID: 22812889
0
 
LVL 61

Expert Comment

by:gheist
ID: 22821040
Setting up Kerberos domain or LDAP directory will be of help when you get more machines.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now