{"id":15493,"date":"2020-05-02T03:48:00","date_gmt":"2020-05-02T03:48:00","guid":{"rendered":"https:\/\/dbtut.com\/?p=15493"},"modified":"2020-05-02T03:48:22","modified_gmt":"2020-05-02T03:48:22","slug":"how-to-run-single-command-on-multiple-linux-servers","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/","title":{"rendered":"How To Run Single Command on Multiple Linux Servers"},"content":{"rendered":"<p>If you have more than one server you manage and if you connect to multiple servers with ssh and run single command on multiple linux servers, this article is for you.<\/p>\n<p>If you want to run single command on multiple servers without connecting with ssh and read data from all servers with a single command, there are opensource tools like pssh, cssh. In this article I will talk about pssh.<\/p>\n<h3>What is PSSH?<\/h3>\n<p>Pssh stands for Parallel Security Shell. As I mentioned above, instead of connecting to the servers individually with SSH, we copy the sshkeys from the host server to the other servers. We send the queries with the help of a single command via the host (it can be your own local computer) and get the results.<\/p>\n<p>Commands such as Pssh, Pscp, P-rysnc are also available. Before starting the installation, I must say that it requires an epel repo and you need to copy the ssh key of the host to other servers.<\/p>\n<p>You may want to read the article below to create and copy ssh key.<\/p>\n<p class=\"entry-title\"><a href=\"https:\/\/dbtut.com\/index.php\/2020\/04\/29\/how-to-create-ssh-key-and-connect-another-machine-by-copying-ssh-key\/\" target=\"_blank\" rel=\"bookmark noopener noreferrer\">How To Create Ssh Key and Connect Another Machine by Copying SSH Key<\/a><\/p>\n<h3>How To Install PSSH?<\/h3>\n<p>We run the command below for pssh installation.<\/p>\n<pre class=\"lang:default decode:true \">yum install pssh -y<\/pre>\n<p id=\"WFZTdGO\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-15494  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/img_5eac8f260dfd1.png\" alt=\"\" width=\"849\" height=\"337\" \/><\/p>\n<p>After the installation is completed, we create host.txt as below and write the hosts into this file.<\/p>\n<p id=\"DgoakVv\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-15495  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/img_5eac8fb8ada75.png\" alt=\"\" width=\"861\" height=\"382\" \/><\/p>\n<p>Just write username and machine names in the screenshot above. Because we created ssh key and copied it to other servers. After writing in the above format, we save and exit and run the pssh command as follows.<\/p>\n<pre class=\"lang:default decode:true \">pssh -h host.txt -i df -h<\/pre>\n<p>In the above command, it listed the disks on 3 servers at the same time with one command as seen below.<\/p>\n<p id=\"hKbpgie\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-15496  aligncenter\" src=\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/img_5eac904e53dee.png\" alt=\"\" width=\"863\" height=\"671\" \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_15493\" class=\"pvc_stats all  \" data-element-id=\"15493\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you have more than one server you manage and if you connect to multiple servers with ssh and run single command on multiple linux servers, this article is for you. If you want to run single command on multiple servers without connecting with ssh and read data from all servers with a single command, &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_15493\" class=\"pvc_stats all  \" data-element-id=\"15493\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":366,"featured_media":15497,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[299],"tags":[9543,9515,9535,9538,9541,9518,9519,9527,9521,9528,9532,9531,9542,9544,9530,9526,9517,9533,9534,9545,9536,9520,9540,9537,9516,9522,9539,9524,9523,9529,9525],"class_list":["post-15493","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-linux","tag-automatically-run-commands-over-ssh-on-many-servers","tag-connect-to-multiple-servers-using-ssh","tag-execute-command-on-multiple-linux-servers","tag-execute-commands-on-multiple-remote-linux-servers","tag-execute-commands-on-multiple-remote-linux-servers-using-single-terminal","tag-how-can-i-connect-to-multiple-servers-with-ssh","tag-how-do-i-ssh-into-multiple-servers","tag-how-do-i-use-pssh","tag-how-to-connect-to-multiple-server-at-the-same-time-with-ssh","tag-how-to-install-pssh","tag-how-to-run-commands-on-multiple-linux-hosts","tag-how-to-run-commands-on-multiple-linux-hosts-using-pssh","tag-how-to-run-remote-commands-on-multiple-linux-servers","tag-how-to-run-simple-single-command-on-multiple-linux-servers","tag-how-to-use-parallel-ssh-pssh-for-executing-commands","tag-how-use-pssh-command-in-linux","tag-multissh","tag-parallel-ssh","tag-run-a-command-on-multiple-linux-servers","tag-run-command-multiple-linux-server","tag-run-command-on-multiple-linux-servers","tag-run-commands-on-multiple-linux-servers","tag-run-commands-on-multiple-linux-servers-from-windows","tag-run-same-command-on-multiple-linux-servers","tag-ssh-into-multiple-servers-using-multissh","tag-ssh-multiple-servers-at-once","tag-ssh-run-remote-command","tag-ssh-to-multiple-hosts-at-once","tag-ssh-to-multiple-servers-at-once-and-run-commands","tag-what-does-pssh-stand-for","tag-what-is-pssh"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Run Single Command on Multiple Linux Servers - Database Tutorials<\/title>\n<meta name=\"description\" content=\"How To Connect to Multiple Servers With SSH and How To Run Single Command on Multiple Linux Servers\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Run Single Command on Multiple Linux Servers - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"How To Connect to Multiple Servers With SSH and How To Run Single Command on Multiple Linux Servers\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-02T03:48:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-02T03:48:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png\" \/>\n\t<meta property=\"og:image:width\" content=\"748\" \/>\n\t<meta property=\"og:image:height\" content=\"457\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Faruk Erdem\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Faruk Erdem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/\"},\"author\":{\"name\":\"Faruk Erdem\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb\"},\"headline\":\"How To Run Single Command on Multiple Linux Servers\",\"datePublished\":\"2020-05-02T03:48:00+00:00\",\"dateModified\":\"2020-05-02T03:48:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/\"},\"wordCount\":289,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png\",\"keywords\":[\"Automatically run commands over SSH on many servers\",\"connect to multiple servers using SSH\",\"execute command on multiple linux servers\",\"execute commands on multiple remote linux servers\",\"execute commands on multiple remote linux servers using single terminal\",\"How can I connect to multiple servers with ssh\",\"How do I SSH into multiple servers?\",\"How do I Use pssh?\",\"How to connect to multiple server at the same time with SSH\",\"How To Install PSSH\",\"How to Run Commands on Multiple Linux Hosts\",\"How to Run Commands on Multiple Linux Hosts Using PSSH\",\"How to run remote commands on multiple Linux servers\",\"How to run simple single command on multiple Linux servers\",\"How to use parallel ssh (PSSH) for executing commands\",\"How use PSSH command in Linux?\",\"MultiSSH\",\"parallel ssh\",\"run a command on multiple linux servers\",\"Run command multiple linux server\",\"run command on multiple linux servers\",\"Run Commands on Multiple Linux Servers\",\"run commands on multiple linux servers from windows\",\"run same command on multiple linux servers\",\"SSH into Multiple Servers using MultiSSH\",\"ssh multiple servers at once\",\"Ssh run remote command\",\"ssh to multiple hosts at once\",\"ssh to multiple servers at once and run commands\",\"What does PSSH stand for?\",\"What is PSSH?\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/\",\"name\":\"How To Run Single Command on Multiple Linux Servers - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png\",\"datePublished\":\"2020-05-02T03:48:00+00:00\",\"dateModified\":\"2020-05-02T03:48:22+00:00\",\"description\":\"How To Connect to Multiple Servers With SSH and How To Run Single Command on Multiple Linux Servers\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png\",\"width\":748,\"height\":457},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Run Single Command on Multiple Linux Servers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb\",\"name\":\"Faruk Erdem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g\",\"caption\":\"Faruk Erdem\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/farukerdem\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Run Single Command on Multiple Linux Servers - Database Tutorials","description":"How To Connect to Multiple Servers With SSH and How To Run Single Command on Multiple Linux Servers","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/","og_locale":"en_US","og_type":"article","og_title":"How To Run Single Command on Multiple Linux Servers - Database Tutorials","og_description":"How To Connect to Multiple Servers With SSH and How To Run Single Command on Multiple Linux Servers","og_url":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/","og_site_name":"Database Tutorials","article_published_time":"2020-05-02T03:48:00+00:00","article_modified_time":"2020-05-02T03:48:22+00:00","og_image":[{"width":748,"height":457,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png","type":"image\/png"}],"author":"Faruk Erdem","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Faruk Erdem","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/"},"author":{"name":"Faruk Erdem","@id":"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb"},"headline":"How To Run Single Command on Multiple Linux Servers","datePublished":"2020-05-02T03:48:00+00:00","dateModified":"2020-05-02T03:48:22+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/"},"wordCount":289,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png","keywords":["Automatically run commands over SSH on many servers","connect to multiple servers using SSH","execute command on multiple linux servers","execute commands on multiple remote linux servers","execute commands on multiple remote linux servers using single terminal","How can I connect to multiple servers with ssh","How do I SSH into multiple servers?","How do I Use pssh?","How to connect to multiple server at the same time with SSH","How To Install PSSH","How to Run Commands on Multiple Linux Hosts","How to Run Commands on Multiple Linux Hosts Using PSSH","How to run remote commands on multiple Linux servers","How to run simple single command on multiple Linux servers","How to use parallel ssh (PSSH) for executing commands","How use PSSH command in Linux?","MultiSSH","parallel ssh","run a command on multiple linux servers","Run command multiple linux server","run command on multiple linux servers","Run Commands on Multiple Linux Servers","run commands on multiple linux servers from windows","run same command on multiple linux servers","SSH into Multiple Servers using MultiSSH","ssh multiple servers at once","Ssh run remote command","ssh to multiple hosts at once","ssh to multiple servers at once and run commands","What does PSSH stand for?","What is PSSH?"],"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/","url":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/","name":"How To Run Single Command on Multiple Linux Servers - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png","datePublished":"2020-05-02T03:48:00+00:00","dateModified":"2020-05-02T03:48:22+00:00","description":"How To Connect to Multiple Servers With SSH and How To Run Single Command on Multiple Linux Servers","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/05\/Ads\u0131z.png","width":748,"height":457},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2020\/05\/02\/how-to-run-single-command-on-multiple-linux-servers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"How To Run Single Command on Multiple Linux Servers"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb","name":"Faruk Erdem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g","caption":"Faruk Erdem"},"url":"https:\/\/dbtut.com\/index.php\/author\/farukerdem\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/15493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/366"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=15493"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/15493\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/15497"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=15493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=15493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=15493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}