Hallo Bernhard,

Bernhard Schiffner wrote:
> Hallo,
> 
> kennt jemand eine Lösung sshpass, ssh und dsh sinnvoll zu kombinieren?
> 
> Gleicher User, gleiches Passwort, gleiche Aufgabe auf mehreren Rechnern ...
> 
> etwa so: 
> 
> dsh -r 'sshpass -f <passwortfile> ssh'  -f <hostfile> --wait-shell -- 'cat 
> /proc/loadavg'

Ich würde ja die Aufgabenstellung modifizieren:
Gleicher User, gleiche authorized_keys, gleiche Aufgabe auf
mehreren Rechnern.

eval `ssh-agent`
ssh-add $HOME/.ssh/id_rsa
dsh -r ssh -f hostfile <und so weiter...>

> TIA!
> 
> Bernhard

Ciao,
Thomas

-- 
 Thomas Köhler       Email:       [email protected]
     <><             WWW:              http://gott-gehabt.de
                     IRC: tkoehler       Freenode: thkoehler
                     PGP public key available from Homepage!

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Lug-dd maillist  -  [email protected]
https://ssl.schlittermann.de/mailman/listinfo/lug-dd

Antwort per Email an