HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

csshX — Cluster SSH tool for macOS. More information: <https://github.com/brockgr/csshx>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcsshxsshcliclustertoolformacos
macos

Problem

How to use the csshX command: Cluster SSH tool for macOS. More information: <https://github.com/brockgr/csshx>.

Solution

csshX — Cluster SSH tool for macOS. More information: <https://github.com/brockgr/csshx>.

Connect to multiple hosts:
csshX {{hostname1}} {{hostname2}}


Connect to multiple hosts with a given SSH key:
csshX {{user@hostname1}} {{user@hostname2}} --ssh_args "-i {{path/to/key_file.pem}}"


Connect to a pre-defined cluster from /etc/clusters:
csshX cluster1

Code Snippets

Connect to multiple hosts

csshX {{hostname1}} {{hostname2}}

Connect to multiple hosts with a given SSH key

csshX {{user@hostname1}} {{user@hostname2}} --ssh_args "-i {{path/to/key_file.pem}}"

Connect to a pre-defined cluster from `/etc/clusters`

csshX cluster1

Context

tldr-pages: osx/csshX

Revisions (0)

No revisions yet.