How to use parallel ssh (PSSH) for executing ssh in parallel on a number of Linux/Unix/BSD servers

Posted on in Categories Cloud Computing, Command Line Hacks, Howto last updated April 21, 2017

Recently I come across a nice little nifty tool called pssh to run a single command on multiple Linux / UNIX / BSD servers. You can easily increase your productivy with this SSH tool.

More about pssh

pssh is a command line tool for executing ssh in parallel on some hosts. It provides specialties includes:

  1. Sending input to all of the processes
  2. Inputting a password to ssh
  3. Saving output to files
  4. IT/sysadmin taks automation such as patching servers
  5. Timing out and more

Let us see how to install and use pssh on Linux and Unix-like system.

pssh-welcome

Accessing Internet from cloud VM when you have only private network enabled

Posted on in Categories Hardware, Howto last updated August 17, 2016

We have a couple of virtual servers hosted with Softlayer for processing data and backup purpose. The public interface is completely turned off i.e. no Internet access. We can only access VMs using a VPN. It resulted in decreased costs and many security problems for backend servers. However, when you order “Private Network Only” cloud VM, you cannot route outgoing traffic to the Internet using your VM.

How to paste password easily when pasting into password input fields disabled on Google Chrome

Posted on in Categories Howto, Linux News, Open Source, Programming last updated March 6, 2016


I use the gpass password manager to store my randomly generated unique password for each site. However, many sites such as net banking prevent you from pasting a password when signing up. The site owner or webmaster disables pasting into password input fields. Want to paste your password on such site? Give it a try to don’t f*ck with paste Google Chrome extension.

A Shell Primer: Master Your Linux, OS X, Unix Shell Environment

Posted on in Categories Command Line Hacks, Howto last updated November 9, 2016

On a Linux or Unix-like systems each user and process runs in a specific environment. An environment includes variables, settings, aliases, functions and more. Following is a very brief introduction to some useful shell environment commands, including examples of how to use each command and setup your own environment to increase productivity in the command prompt.

5 Awesome Open Source Backup Software For Linux and Unix-like Systems

Posted on in Categories Open Source last updated May 18, 2015

A good backup plan is essential in order to have the ability to recover from

  • Human errors
  • RAID or disk failure
  • File system corruption
  • Data center destruction and more.

In this post I’m going to list amazingly awesome open source Backup software for you.

What to look for when choosing backup software for an enterprise?

Make sure the following features are supported backup software you deploy:

8 Tips to Solve Linux & Unix Systems Hard Disk Problems: Like Disk Full Or Can’t Write to the Disk

Posted on in Categories Datacenter, Hardware, Storage last updated March 28, 2016

Can’t write to the hard disk on a Linux or Unix-like systems? Want to diagnose corrupt disk issues on a server? Want to find out why you are getting “disk full” messages on screen? Want to learn how to solve full/corrupt and failed disk issues. Try these eight tips to diagnose a Linux and Unix server hard disk drive problems.

How To Use Vagrant To Create Small Virtual Test Lab on a Linux / OS X / MS-Windows

Posted on in Categories Cloud Computing, Virtualization last updated October 28, 2014

Vagrant is a multi-platform command line tool for creating lightweight, reproducible and portable virtual environments. Vagrant acts as a glue layer between different virtualization solutions (Software, hardware PaaS and IaaS) and different configuration management utilities (Puppet, Chef, etc’). Vagrant was started back at 2010 by Mitchell Hashimoto as a side project and later became one of the first products of HashiCorp – the company Mitchell founded.

While officially described as a tool for setting up development environments, Vagrant can be used for a lot of other purposes by non developers as well:

  • Creating demo labs
  • Testing configuration management tools
  • Speeding up the work with non multi-platform tools such as Docker

In this tutorial I’ll show how can we take Vagrant as use it to create small virtual test lab which we will be able to pass to our colleagues.