# multissh **Repository Path**: mirrors_Unitech/multissh ## Basic Information - **Project Name**: multissh - **Description**: SSH into multiple machine to execute a command in parallel, with a convenient terminal UX - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-14 - **Last Updated**: 2026-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MultiSSH Multi screen termcaps UI to execute a command into a list of servers. This module will ssh into each host passed in arguments and execute the command. ![asciicast](asciicast.gif) **NB: Make sure you have your SSH pub key into each host via `$ ssh-copy-id user@ip`** ```javascript var multissh = require('multissh'); // Execute command `ls -al` in each host multissh.start({ cmd : 'ls -al', title : 'Doing a file listing', server_list : [{ ip : ip, user : user, key : 'rsa_pub.key', // Optional key local: true // Exec command via exec instead of ssh },{ ip : ip, user : user }], }, function(cb) { // Optionnal callback }); ``` # Misc commands IP : `hostname -I | cut -d " " -f1` Remove interactive checks: "grep "case \$-" .bashrc && sed -i '5,9d' .bashrc"