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

host failure #18

Open
lavinnyv opened this issue Nov 8, 2024 · 1 comment
Open

host failure #18

lavinnyv opened this issue Nov 8, 2024 · 1 comment

Comments

@lavinnyv
Copy link

lavinnyv commented Nov 8, 2024

i was using hss to send a command to 25 hosts to launch an app. 1 host went down and that locked up my command to all. is there an option to ignore any host that might be offline and continue through the rest of my hosts?

@lavinnyv
Copy link
Author

if anyone runs into this same problem in the future, what i found was that i could edit the ssh config file on my controller to only try to find host for a certain number of attempts or time to try.

i tried both of these, one at a time:
ConnectionAttempts 2

ConnectTimeout 1

and depending on what you need, the ConnectTimeout 1 was faster to search for a host and then move on if it doesn't find it.

the ssh config file is in ~/.ssh and most likely it's blank until you enter one of these commands.

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

1 participant