Closed chambridge closed 6 years ago
Unfortunately it looks like ClientAliveInterval
and ClientAliveCountMax
are only sshd configuration options, not ssh options. Unless the user has already configured sshd with these options on their remote machines, we can't use them.
See https://linux.die.net/man/5/ssh_config and https://linux.die.net/man/5/sshd_config .
ServerAliveCountMax
is a thing on the client side, but I'm not sure if it will be helpful here.
Let's close this out then. Nothing to do.
Specify type:
Description:
Update the ssh-comman-args
Discovery: https://github.com/quipucords/rho/blob/master/rho/host_discovery.py#L121
--ssh-common-args="-o ServerAliveInterval=10 ClientAliveInterval=120 ClientAliveCountMax=0"
Host Scan: https://github.com/quipucords/rho/blob/master/rho_playbook.yml#L10
ansible_ssh_common_args: '-o ServerAliveInterval=10 ClientAliveInterval=600 ClientAliveCountMax=0'