Skip to content
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

Clusterssh for other protocols / programs, e.g. smb (using smbclient)? #159

Open
daute opened this issue May 13, 2024 · 1 comment
Open

Comments

@daute
Copy link

daute commented May 13, 2024

Hi,
I use clusterssh often, a great tool. Is there a possibility to use it with other protocols and tools (so that for each host a terminal opens and the input/output is redirected to each window)?

Maybe connect to Windows machines using smbclient and do some manipulations (file uploads, etc.) on multiple hosts? Or even better, use arbitrary commands on several hosts?

I could set

ssh=smbclient
ssh_args=-W myDomain

in .clusterssh/config (can that be set using the command line?) the but (how) can one specify the clusters? e.g.

//192.168.0.1/c\$ //192.168.0.2/c\$ //192.168.0.3/c\$

Is that possible?

Best regards, Wolfgang

@AsharLohmar
Copy link
Contributor

AsharLohmar commented Jan 9, 2025

Unfortunately these options are not overridable by command line arguments.
The way I'm dealing with it is by having different configuration files and pass the appropriate one by using -C <config file>. Actually if you take a look at #165 ... you'll find a little patch that I think will find useful to combine with this approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants