Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peikk0/tmux-cssh
ClusterSSH with tmux -- mirror of https://gitlab.com/peikk0/tmux-cssh
https://github.com/peikk0/tmux-cssh
clusterssh cssh ssh tmux
Last synced: about 9 hours ago
JSON representation
ClusterSSH with tmux -- mirror of https://gitlab.com/peikk0/tmux-cssh
- Host: GitHub
- URL: https://github.com/peikk0/tmux-cssh
- Owner: peikk0
- License: mit
- Created: 2017-05-18T00:16:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T09:01:32.000Z (14 days ago)
- Last Synced: 2024-10-25T06:08:38.342Z (13 days ago)
- Topics: clusterssh, cssh, ssh, tmux
- Language: Shell
- Homepage: https://gitlab.com/peikk0/tmux-cssh
- Size: 16.6 KB
- Stars: 232
- Watchers: 13
- Forks: 38
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# tmux-cssh
Spawns multiple synchronized SSH sessions inside a tmux session.
Think [Cluster SSH](https://github.com/duncs/clusterssh) except with only one terminal window and without the ugly Tk GUI.
# Requirements
- [tmux](https://tmux.github.io/) >=1.1
# Installation
Just copy `tmux-cssh` somewhere in your `$PATH`.
You might want to add a keybinding in your `.tmux.conf` for toggling panes synchronization:
```
bind-key = set-window-option synchronize-panes
```
This example assigns the `=` key.# Usage
```
% tmux-cssh -h
Usage: tmux-cssh [options] host [host ...]Spawns multiple synchronized SSH sessions inside a tmux session.
Options:
-h Show help
-n Name of the tmux session or window (default: cssh)
-o Additional SSH arguments
-c Use the current tmux session and just spawn a new window instead% tmux-cssh web{1..4}
% tmux-cssh -o '-p 2222 -l my_user' web{1..4}
```# Contributing
Please open issues and submit merge requests in [GitLab](https://gitlab.com/peikk0/tmux-cssh).
# License
[MIT](LICENSE.md)
Handmade with love in Wellington, New Zealand.