set ClientAliveInterval so that ssh connection doesn't die after a while #195

Closed
opened 6 months ago by aryak · 2 comments
aryak commented 6 months ago
Collaborator

For me, when i leave the ssh connection idle for 5-10 minutes, the shell freezes and I am unable to do anything, even exit.

To remedy this, I use the following params in sshd_config. It would be great if you could add this to the exozy.me sshd_config too so it doesn't freeze.

ClientAliveInterval 30
ClientAliveCountMax 5
For me, when i leave the ssh connection idle for 5-10 minutes, the shell freezes and I am unable to do anything, even exit. To remedy this, I use the following params in sshd_config. It would be great if you could add this to the exozy.me sshd_config too so it doesn't freeze. ``` ClientAliveInterval 30 ClientAliveCountMax 5 ```
aryak added the
enhancement
label 6 months ago
a commented 6 months ago
Owner

I changed it to

ClientAliveInterval 60
ClientAliveCountMax 3

Is that OK?

I changed it to ``` ClientAliveInterval 60 ClientAliveCountMax 3 ``` Is that OK?
a closed this issue 6 months ago
a added this to the (deleted) project 6 months ago
aryak commented 6 months ago
Poster
Collaborator

should be fine

should be fine
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: exozyme/exozyme#195
Loading…
There is no content yet.