bosh ssh dropping out a lot


Dr Nic Williams
 

I am using relatively new bosh stemcell & CLI and `bosh ssh` is lovely - no
more silly passwords for sudo, etc.

But, it seems to die without my participation. I have nice scripts running
- streaming logs etc during development - and I come back and the ssh
session is dead.

Is this a new "feature" and how do I turn it off for my development BOSH?

Nic

--
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic


Dmitriy Kalinin
 

few months ago we have changed stemcells based on sec guidelines to timeout ssh connections after 15 mins. i dont believe it times out if there is some activity happening.

Sent from my iPhone

On Nov 19, 2015, at 3:05 PM, Dr Nic Williams <drnicwilliams(a)gmail.com> wrote:

I am using relatively new bosh stemcell & CLI and `bosh ssh` is lovely - no more silly passwords for sudo, etc.

But, it seems to die without my participation. I have nice scripts running - streaming logs etc during development - and I come back and the ssh session is dead.

Is this a new "feature" and how do I turn it off for my development BOSH?

Nic

--
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic


Dr Nic Williams
 

At a glance I can't see a config option for the director. 




Or how do I tell it to not do this?




Or can I PR either of these options?

On Thu, Nov 19, 2015 at 3:44 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

few months ago we have changed stemcells based on sec guidelines to timeout ssh connections after 15 mins. i dont believe it times out if there is some activity happening.
Sent from my iPhone
On Nov 19, 2015, at 3:05 PM, Dr Nic Williams <drnicwilliams(a)gmail.com> wrote:

I am using relatively new bosh stemcell & CLI and `bosh ssh` is lovely - no more silly passwords for sudo, etc.

But, it seems to die without my participation. I have nice scripts running - streaming logs etc during development - and I come back and the ssh session is dead.

Is this a new "feature" and how do I turn it off for my development BOSH?

Nic

--
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic


Dmitriy Kalinin
 

it's not something thats configurable right now since its in the stemcell ssh_config.

is tailing actively outputting things?

Sent from my iPhone

On Nov 19, 2015, at 4:05 PM, Dr Nic Williams <drnicwilliams(a)gmail.com> wrote:

At a glance I can't see a config option for the director.

Or how do I tell it to not do this?

Or can I PR either of these options?




On Thu, Nov 19, 2015 at 3:44 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io> wrote:
few months ago we have changed stemcells based on sec guidelines to timeout ssh connections after 15 mins. i dont believe it times out if there is some activity happening.

Sent from my iPhone

On Nov 19, 2015, at 3:05 PM, Dr Nic Williams <drnicwilliams(a)gmail.com> wrote:

I am using relatively new bosh stemcell & CLI and `bosh ssh` is lovely - no more silly passwords for sudo, etc.

But, it seems to die without my participation. I have nice scripts running - streaming logs etc during development - and I come back and the ssh session is dead.

Is this a new "feature" and how do I turn it off for my development BOSH?

Nic

--
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic


Tom Sherrod <tom.sherrod@...>
 

I had the very same question from a user or 2.

Recommended:
ssh client side option may work:
ServerAliveInterval 100 #sends keep-alive every 100 secs.

Haven't heard back.

Tom

On Thu, Nov 19, 2015 at 7:25 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

it's not something thats configurable right now since its in the stemcell
ssh_config.

is tailing actively outputting things?

Sent from my iPhone

On Nov 19, 2015, at 4:05 PM, Dr Nic Williams <drnicwilliams(a)gmail.com>
wrote:

At a glance I can't see a config option for the director.

Or how do I tell it to not do this?

Or can I PR either of these options?




On Thu, Nov 19, 2015 at 3:44 PM, Dmitriy Kalinin <dkalinin(a)pivotal.io>
wrote:

few months ago we have changed stemcells based on sec guidelines to
timeout ssh connections after 15 mins. i dont believe it times out if there
is some activity happening.

Sent from my iPhone

On Nov 19, 2015, at 3:05 PM, Dr Nic Williams <drnicwilliams(a)gmail.com>
wrote:

I am using relatively new bosh stemcell & CLI and `bosh ssh` is lovely -
no more silly passwords for sudo, etc.

But, it seems to die without my participation. I have nice scripts
running - streaming logs etc during development - and I come back and the
ssh session is dead.

Is this a new "feature" and how do I turn it off for my development BOSH?

Nic

--
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic


William C Penrod
 

I ran across this post after some annoyance of dropped bosh ssh sessions. I added the suggested keep alive to my client ssh config and it seems to work, although I have not done any structured testing. Thanks for the recommendation!