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

Default value of ssh_client_alive_interval is inconsistent with what documentation says #701

Closed
giordano opened this issue Oct 10, 2023 · 1 comment
Labels

Comments

@giordano
Copy link

Description

Documentation of ssh_client_alive_interval claims that the default is 600 seconds

- `ssh_client_alive_interval`
- Default: `600`
- Description: specifies an interval for sending keepalive messages.
- Type: str
- Required: no

This is inconsistent with what the actual code, where ssh_client_alive_interval defaults to 300 seconds:
ssh_client_alive_interval: 300 # sshd

Reproduction steps

N/A

Current Behavior

N/A

Expected Behavior

Code and documentation should be consistent. If I had to choose, I'd prefer a longer timeout, so favouring what the documentation says, I'm finding the default value of 300 seconds very short (I know I can change it, just reporting the experience of dealing with timeouts every 5 minutes).

OS / Environment

N/A

Ansible Version

N/A

Collection Version

N/A

Additional information

N/A

@giordano giordano added the bug label Oct 10, 2023
@rndmh3ro
Copy link
Member

Thanks for spotting this, @giordano! 300 is the current and correct default.

Since it's really easy to change it in your playbook, the default is unlikely to change.

I fiexd the docs in #703

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

No branches or pull requests

2 participants