[AuckLUG] Automate SSH with a Script
Martin Bähr
mbaehr at email.archlab.tuwien.ac.at
Fri May 11 15:54:39 NZST 2007
On Fri, May 11, 2007 at 03:23:03PM +1200, Fuad Tabba wrote:
> I was wondering if anyone knows how I could automate SSH logins so that it
> would read the password somehow from stdin or a file. I need it to automate
> logging in and running scripts on a bunch of machines.
try using an SSH_ASKPASS script.
i found this page which seems to cover all that you need in your
situation:
http://www.derkeiler.com/Newsgroups/comp.security.ssh/2005-02/0087.html
greetings, martin.
--
cooperative communication with sTeam - caudium, pike, roxen and unix
offering: programming, training and administration - anywhere in the world
--
pike programmer working in new zealand open-steam.org|webhaven.co.nz
unix system- bahai.or.at iaeste.(tuwien.ac|or).at
administrator (caudium|gotpike).org is.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
More information about the AuckLUG
mailing list