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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-05-2009 #1
- Join Date
- Jun 2009
PDSH and SSH Ports
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: