Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems using DSH

Status
Not open for further replies.

holdahl

IS-IT--Management
Apr 4, 2006
213
0
0
NO
I have set up distributed shell on some of our aix server.

When I try to run the date command on the 2 other nodes, it works fine on the first node but the other node fails.

dsh> date
host1: ons 09-04-29 09:05:20
host2: Permission denied (publickey,password,keyboard-interactive).
dsh: 2617-009 host2 remote shell had exit code 255
Target(s) host2 will be removed from dsh target list, because the remote comand returned a non-zero value, or it cannot be accessed by the remote shell. To prevent dsh from removing failed targets, please rerun dsh with flag -c.


Any suggestions what might cause this?

-holdahl
 
Well on first guess, I would say you have no permission (or have no longer) from the central server (the host you run dsh on) to host2 ;-)


HTH,

p5wizard
 
Yes, ssh to host2 and other hosts is working.

-holdahl
 
Thanks, I will have a look at that post.



-holdahl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top