1.check your pdsh default rcmd rsh
pdsh -q -w localhost
See what your pdsh default rcmd is.
2.Modify pdsh's default rcmd to ssh
export PDSH_RCMD_TYPE=ssh
1.check your pdsh default rcmd rsh
pdsh -q -w localhost
See what your pdsh default rcmd is.
2.Modify pdsh's default rcmd to ssh
export PDSH_RCMD_TYPE=ssh
转载于:https://www.cnblogs.com/author/p/8952418.html