Solved

how to login to multiple system after giving password once ?

Posted on 2008-10-27
5
212 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 62

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

840 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