X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BA35388F043
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1591370833;
	bh=VUj4C9JWS6pU7/vE/wMiUKDDX6jwndpFw1NXmXw5l/k=;
	h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=m6O4imHgGsXSThWFsqKpgVL/w15nTOgoENcLScO8rhLTXeL+O9DPBAl4QBj8us+OJ
	 rCO7c5wcoyM7oIe8JvOzHALvfv5KkyKunFWjBo5NwWsl2L1039+eGEYDJj4IoTFtWs
	 yCebNMarbDSOxdpIjtmkgx6I1Yuqfm7n654ajlhw=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 17491384B0C0
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Mx+t99Fz7dG2V6sVZAtn035pP4G55mKSat4mStIYuZNo3xAoK/8w8zgb7fHmmhdECOx8pM6ASoOphI2+feymddLPGhgS4TiwYqj63lfIVnkfIf5QroCNy5pilSADRR+L83bCn3j2ay53tkE6EffP/MZ3Py7mLng3jg4HfnTMLAytdijMXC+ZaUmKKq6JW9wvTsdRb5Hs5LQxiFtxlAZugoR84ZSMNADD3fr4NUx+RKzRPHRGfj7EbA5HlSgDv6/hEk7WkxzAEjWPAR2JwlLLwqrGK73+6PP1YqmipE2J9j/jCMZau/q7oHmUJSV7gymXHnxJgaouazl3TkhbTb0G7Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=wvcmifp1NSdYMbmE5WwKO+KpNQXBes5tt0kyzDvRMGI=;
 b=oFfL8vbiVAGBWbMdsRndgbKnvr8ASJGNWRGBXj8iHsrnW4k8RK7GfFtbBp1who3NxJ6q2AVcQX//7gV/eExCHVlsPGX7plhyavxzp8UfGwqLlLkqvp45qaGBWDzbgB9G1WDO5t4aqtqjZS2Bg20yvSNAUSCtqBl7sAbgKZeoILfrx3LGew0bPrBopPjv8+gTwmtDqbCyjbyDDarKaJGQVX5RaJ7uzSUHejag3G5Xy5CPb639YdkZe907SiOXjJMIMTJVib1naX4eP1/lP2p3+BH+otsLgRKkyYTslfbn+BhPyYBl9XsiuhRx9OIPvjgd0FW7uSeTn975U0eLWAbqmA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
 dkim=pass header.d=cornell.edu; arc=none
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: trouble maintaining an open ssh connection past 20 minutes
Thread-Topic: trouble maintaining an open ssh connection past 20 minutes
Thread-Index: AdY7SQ1RJarUpBveTZWpiAyzWjOg5AAAp9gAAAAe2TA=
Date: Fri, 5 Jun 2020 15:26:54 +0000
Message-ID: <CH2PR04MB66968E9DE9B05D14E7DD291887860@CH2PR04MB6696.namprd04.prod.outlook.com>
References: <CH2PR04MB669609E311DC87845B807B5B87860@CH2PR04MB6696.namprd04.prod.outlook.com>
 <1500186340.2276600.1591369926471@mail.yahoo.com>
In-Reply-To: <1500186340.2276600.1591369926471@mail.yahoo.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [74.69.55.44]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 66c81d2c-b084-412f-5df2-08d80964e0d7
x-ms-traffictypediagnostic: CH2PR04MB6742:
x-microsoft-antispam-prvs: <CH2PR04MB6742A250CFD0649587C8579D87860@CH2PR04MB6742.namprd04.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:949;
x-forefront-prvs: 0425A67DEF
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: QA3dcnegO8OMsQjIUYprlbwEqqJFoaJbQxt0u4zFUN4HciRU8G35VbR2qEx4TvgYasdFX6veEKNg90PYYo6e5AiE1uGmIqx2NRsSYx5iIv1HPI+vOMhtpzt0cptDl8WINvpdhaYoJnL0S5h2ufuVNYAc7f63EreCZH6ZNB01J0HLcRSjwDP1rqNtcKIel5o4hRD0vHkURkvvvW9j7HDGKy7gpCkDtr/wSJxQj/1twJO12up+GFimmQb89GzcsQ0iv/fQtoT8LBQEayJjXbe+f68SRkaJUYhnSPCiExinUN6eCICZXN5W3HuUlQiL/TenU0XkbZDwq6wC4KE+jIYyOA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:CH2PR04MB6696.namprd04.prod.outlook.com; PTR:; CAT:NONE;
 SFTY:;
 SFS:(4636009)(346002)(39860400002)(366004)(376002)(136003)(396003)(86362001)(2906002)(66556008)(76116006)(66446008)(316002)(55016002)(64756008)(8936002)(9686003)(786003)(53546011)(186003)(7696005)(26005)(6506007)(6916009)(8676002)(71200400001)(66946007)(66476007)(5660300002)(83380400001)(33656002)(478600001)(75432002)(52536014);
 DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata: mBGv10grR9rhAgfiTys8yxp43pUoHHg8/MUrQ46CbafIp3A2Z4gK0JHz1K+uIXo6U6pgvrl6IL8YvZsWm5R9epR/0W0srDoaJpY7EcjhpZ5UV3E/D8wrmTovc61EDehpSGHJegRI7Hm6iXVmebifMiNHyC1WFy/WUrmM0BlZ2MuTciiklY7cqUPxav+E48ecbAtDDMct4ZlH3Bs8SF16T81NJ4fHcw4J0CyhQYVLUebGaVIJOm1a/33P3MB/4uXjvweIMEpK68SCxVHuGsWr0L68W04DdRvrOzQNlfcF3JkNCDf3qLA8ngH51hMbWnm/p4oaIN0FpCtlL7O/HXyOv6vAu0rzON5P0xRTdoVnDVKcFTz7GaYtoqDACZO6qDWWl87RvAyUDC/dJhG6IYs+DyFH2uVn92cJh0AFAUJ7wbnPCDyZg/KHOojINNrqXk6gzSLF1dNFgS5JnqDT0jcvgpbnEix86ZJ+weJ37F8XGyU=
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 66c81d2c-b084-412f-5df2-08d80964e0d7
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2020 15:26:54.5171 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 2JZYSHPeGgi9EvcqM4iVdyq4mnJaDC/PW/VZ7TRxMkpMp4PfzpsQ0GMDUWcAMUcIskAcJsTijMMHYFrkhbZ46A==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR04MB6742
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE,
 RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: "Frances B. Webb via Cygwin" <cygwin@cygwin.com>
Reply-To: "Frances B. Webb" <frances.webb@cornell.edu>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 055FRcPG010270

My ssh config is this, followed by a bunch of hostname aliases:

Host *
        ServerAliveInterval 180
Host solr* jenkins folio*
        IdentityFile ~/.ssh/aws_id_rsa

The ServerAliveInterval is something I added when I was trying to debug the issue last summer. It didn't work, and I never took it out.

The servers that I'm communicating with are a combination of Amazon Web Services hosted and on-campus server farm machines. Both sets are virtual machines, if that makes any difference. I did ask last summer, and all I got from our operations people was an assurance that they definitely didn't set up the servers to limit ssh sessions to 20 minutes. If there are specific misconfigurations that someone can suggest I check or ask them about, I'd be happy to pursue that further. Out-of-date server software is worth looking into if there are known incompatibilities.

-----Original Message-----
From: matthew patton <pattonme@yahoo.com> 
Sent: Friday, June 5, 2020 11:12 AM
To: Frances B. Webb <frances.webb@cornell.edu>
Subject: Re: trouble maintaining an open ssh connection past 20 minutes

post your ssh config. specifically if you're doing heartbeat packets and loss threshold. And also have you talked to your firewall admins? 

eg.
  ServerAliveInterval 90
  ServerAliveCountMax 3

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

