Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add tmux-cssh as replacement for clusterssh #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
vmcj merged 1 commit into DOMjudge:wfastana from vmcj:tmux-cssh
Sep 12, 2024
Merged

Conversation

Copy link
Member

@vmcj vmcj commented Sep 12, 2024

I can't find if there is an extra config but that can be easily added if @tuupke / @meisterT has such a thing.

@vmcj vmcj linked an issue Sep 12, 2024 that may be closed by this pull request
Copy link
Member

Yeah, I had some bash aliases, basically:

alias ssh-jh='tmux-cssh domjudge-judgehost1 domjudge-judgehost2 ...'
alias ssh-servers='tmux-cssh domserver-primary domserver-backup ...'
alias ssh-all=...
alias ssh-analyst=...

We can also work on this onsite

Copy link
Member Author

vmcj commented Sep 12, 2024

Yeah, I had some bash aliases, basically:

alias ssh-jh='tmux-cssh domjudge-judgehost1 domjudge-judgehost2 ...'
alias ssh-servers='tmux-cssh domserver-primary domserver-backup ...'
alias ssh-all=...
alias ssh-analyst=...

We can also work on this onsite

I've added something like that now, went with shell scripts as that was easier.

src: tmux-cluster.sh.j2
dest: /usr/local/bin/{{ item.short }}
loop:
- short: ssh-js
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer jh but if it is just me I can alias it 😀

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with any comment, so feel free to push the right naming afterwards. I already changed the js to jh as it does indeed make more sense.

For the group take a look at the hosts file where subgroups do matter (so the group domserver does contain everything in the group and the hosts from its children)

@vmcj vmcj merged commit b4e50c0 into DOMjudge:wfastana Sep 12, 2024
3 checks passed
@vmcj vmcj deleted the tmux-cssh branch September 12, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@meisterT meisterT meisterT approved these changes

@Kevinjil Kevinjil Kevinjil approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Convert clusterssh to tmux-cssh

AltStyle によって変換されたページ (->オリジナル) /