Skip to content

Update ssh client config - #112

Merged
matijs merged 1 commit into
dotfilesfrom
ssh-config
Oct 10, 2026
Merged

matijs merged 1 commit into
dotfilesfrom
ssh-config

Conversation

@matijs

@matijs matijs commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Set ServerAliveInterval to 15 (seconds), was 0 (disabled). Set ServerAliveCountMax to 3 (which is the default).

From ssh_config(5):

Sets a timeout interval in seconds after which if no data has been
received from the server, ssh(1) will send a message through the encrypted channel to request a response from the server. The default is 0, indicating that these messages will not be sent to the server.

This should prevent for example git push from hanging when it's actually the underlying ssh that's the problem.

Set ServerAliveInterval to 15 (seconds), was 0 (disabled). Set
ServerAliveCountMax to 3 (which is the default).

From ssh_config(5):

> Sets a timeout interval in seconds after which if no data has been
received from the server, ssh(1) will send a message through the
encrypted channel to request a response from the server.  The default is
0, indicating that these messages will not be sent to the server.

This should prevent for example `git push` from hanging when it's
actually the underlying ssh that's the problem.
@matijs
matijs merged commit 1cc982e into dotfiles Oct 10, 2026
1 check passed
@matijs
matijs deleted the ssh-config branch October 10, 2026 08:54
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

Successfully merging this pull request may close these issues.

1 participant