Skip to content

Commit

Permalink
added broken pipe tip
Browse files Browse the repository at this point in the history
  • Loading branch information
RBhupi committed Nov 9, 2023
1 parent 6f7d3f8 commit 8786bc3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/reference-guides/dev-quick-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,4 +513,22 @@ e.g.

3. The ip for which output is `OK` is the Mobotix.

### SSH 'Broken Pipe' Issue and Solution
A 'Broken pipe' occurs when the SSH session to waggle-dev-node is inactive for longer than 10/15 minutes, resulting in a closed connection.

```
client_loop: send disconnect: Broken pipe
Connection to waggle-dev-node-w021 closed by remote host.
Connection to waggle-dev-node-w021 closed.
```


##### Solution
To prevent the SSH session from timing out and to maintain the connection, the following configuration options can be added to the SSH config file:
```ssh
# Keep the SSH connection alive by sending a message to the server every 60 seconds
Host *
TCPKeepAlive yes
ServerAliveInterval 60
ServerAliveCountMax 999
```

0 comments on commit 8786bc3

Please sign in to comment.