Home » Linux tips » 14 September 2018 » 673 supporters » No Comment »

Install Windows Subsystem for Linux and setup Clusterssh to manage multiple SSH

14 September 2018 673 supporters No Comment

The only purpose for me to install the program is to install Clusterssh to manage multiple ssh session in one time.

In this simple guide I assume that Xming server have been installed and running.

For those who don’t know what is Xming server please refer Xming project website.

It actually X server implementation for Windows.

First thing we need to do is install ‘Windows Subsystem for Linux’. This program allow us to Install Linux OS on top of Windows. After install, we need to reboot the PC.

Windows Subsystem for Linux

After reboot head up to Microsoft Store and install the Linux OS. At this time of writing I can see Kali Linux, Debian, SuSE Linux Enterprise Server, OpenSuSE and Ubuntu. I have test OpenSUSE and Debian for Clusterssh deployment. After that you need to create user for the server and to make thing easy just set root password same as user password.

Basically if you familiar with Linux distribution you may need to add certain repo to the server. And certain distribution no need to add repo.

Debian and Ubuntu using same command to install which is ‘apt-get install clusterssh’ while SuSE using ‘zypper in clusterssh’

You must also install basic X server in the Linux server that you have created.

Make sure setting bellow applied inside /etc/ssh/sshd/config


DESKTOP-BILT70P:/home/hostmaster # grep X /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10

Fire up ClusterSSH by typing ‘cssh’ and if everything goes well you can see a popup for command and new configuration fill be be created under home folder.

Created new configuration file within $HOME/.clusterssh/

Clusterssh in action under Windows subsystem for Linux

If you encounter error just go to this link.

 

 




Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.