jenkins slaves ssh connection drops too often

Description

I'm connecting to ovirt servers (jenkins slaves, resources,...) using foreman.ovirt.org as bastion.
if I don't actively use the keyboard on the ssh connection, the connection is closed in a few seconds with:
packet_write_wait: Connection to UNKNOWN: Broken pipe
please configure the servers for not closing the ssh connection automatically or for doing that only after 1 hour.

Activity

Show:
Eyal Edri
April 27, 2016, 10:16 AM

Can you look into it today if you have time?

Nadav Goldin
April 29, 2016, 9:58 AM

Hi,
interestingly enough I notice the same problem only when connection with VPN(in TLV it works fine), the solution should be to update the puppet manifest for sshd and change the keepaliveinterval, I'll keep this ticket for tracking,
meanwhile, adding this to your ~/.ssh/config might be a temp solution(works here):

Sandro Bonazzola
April 29, 2016, 11:27 AM

I'll try with your suggested configuration (except for user ) and will report if not working.

Eyal Edri
May 8, 2016, 4:26 PM

pending user response

Sandro Bonazzola
May 9, 2016, 6:41 AM

Looks like it's working with nadav workaround.

Fixed

Assignee

Sandro Bonazzola

Reporter

Sandro Bonazzola

Blocked By

pending user review

Priority

Medium
Configure