Solved

how to login to multiple system after giving password once ?

Posted on 2008-10-27
5
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:Syed Mutahir Ali
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Parsing a file using ksh 10 78
NTP Server in VMware 5 395
How to Insert a File Using Text Editor 9 103
Authenticate using sesu from script 7 118
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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…
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 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…

730 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