Files
cheatsheet-tldr/osx/csshx
2024-02-21 11:19:49 +00:00

22 lines
467 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# 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`