Linux Bash & Shell

From Sea of Fate
Revision as of 18:34, 28 February 2025 by Nigel (talk | contribs) (=Open several ssh terminals at once)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction

Continuing the theme of Random stuff and more particularly of Code Snippets here is some shell scripts for Linux

The Scripts

Open several ssh terminals at once

I had already set up password less terminals opening to several common hosts with the format "ssh hostname", I thought it would be nice to open a terminal to all of the prod hosts from a script. then i thought it would be good to give it an alias.