Showing posts with label SSH. Show all posts
Showing posts with label SSH. Show all posts

Tuesday, September 30, 2014

Could not parse arguments: Cannot open display:

The following error appears after disabling IPv6:
Could not parse arguments: Cannot open display:
This is a known bug that hasn't been fixed yet, to fix it use the following command (it instructs sshd not to use IPv6):
 sed -i 's/#AddressFamily any/AddressFamily inet/' /etc/ssh/sshd_config

Install ClusterSSH on CentOS 6

ClusterSSH is a tool to control multiple machines using ssh at the same time, basically it opens a few xterm windows and what ever you type is being typed at all the windows. 

1. Download and install EPEL repository:

yum install -y http://mirror.nonstop.co.il/epel/6/i386/epel-release-6-8.noarch.rpm
2. Install ClusterSSH using Yum:
yum install clusterssh -y
3. Create a file named clusters in /etc/:
vi /etc/clusters
clusters = clusternameclustername = hostname1 hostname2 hostname3
4. At the terminal, execute the following command:
cssh clustername