-
Notifications
You must be signed in to change notification settings - Fork 85
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
ssh_user: root
only for certain hosts / connections
#554
Comments
Indeed there is no easy way at the moment to specify different ssh
options depending on the host.
Could you use ssh config file to achieve the same thing, until this
feature is available in ClusterShell?
|
I would like to avoid making changes to ssh config because this would require either that all clustershell users make the change or I make a modification on all machines. For now I go with ssh as root to all machines. Are there any plans when / if something like run modes for host groups are implemented? |
Thanks @skwde for clearly describing your issues / use cases!
It would indeed be a natural improvement for Let us think about the best way to implement this. |
Perfect. Just found a related issue: #407 |
To my understanding the way to do this is to implement a specific run mode, i.e. a file
clush.conf.d/root-ssh.conf
I see two problems with this
--mode root-ssh
--mode root-ssh
and which should use normal ssh in a single command.The text was updated successfully, but these errors were encountered: