Results 1 to 1 of 1
I've installed PDSH in order to manage a few servers. All of the servers are CentOS 5.
My question is, how do I specify the ssh port for individual servers ...
- 06-05-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 1
PDSH and SSH Ports
I've installed PDSH in order to manage a few servers. All of the servers are CentOS 5.
My question is, how do I specify the ssh port for individual servers when running a script via pdsh? I'm using a few group files and some of the servers use port 22 for ssh and some use other random ports for security reasons.
I tried just adding a -p <Port_Num> option to the /etc/dsh/groups/ files but that fails.
Here are my versions for the apps in question:
pdsh-2.18
openssh-4.3p2-29.el5
openssh-server-4.3p2-29.el5


Reply With Quote
