Kasi:
The file descriptor use by pdsh in the ssh rcmd module is from essentially a popen(3)
to the ssh(1) command itself, so there is no direct socket connection to the remote
host in pdsh itself.
I'm not exactly sure what your project work needs to do, but perhaps you can just
API for the ssh protocol.
BTW, the pdsh google group isn't quite active yet, there aren't any subscribers besides
me, which is why it took me a day to see this message. My apologies.
I hope this helps,
mark