Solved

how to login to multiple system after giving password once ?

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AIX    Volume group Auto ON/OFF question 2 99
LINUX ZIP - UNCOMPRESS WINDOWS PATH 3 97
Unix Question 19 50
Unix Command -- Challenging  question 7 88
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

805 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