Comment 2 for bug 1697635

>For what its worth, this affects Ubuntu too.
 >I never understood why this change is needed.
 >Why is the platform so agressive on dropping network connections?

The ssh session will not break in local VM even after a long time idle, but on Azure, the session is broken after a short time of idling.
Currently, I did not find a simple solution to handle this except for change the sshd_config file (waagent has done it)
This is in fact an improvement of user experience. So, it is not quite urgent. Let me think about it further.

Hongjiang Zhang
 >You received this bug notification because you are subscribed to the bug
 > [Hyper-V][Azure]ssh session will timeout for a short while for FreeBSD
 > on Azure
 >Status in cloud-init:
 > Confirmed
 >Bug description:
 > If we install cloud-init on a FreeBSD VHD which does not install
 > waagent previously, and upload this VHD to Azure. It works fine for
 > SSH connection. But after a short while (~5 seconds), the SSH session
 > is broken.
 > The reason is cloud-init does not set "ClientAliveInterval" in
 > /etc/ssh/sshd_config.
 >To manage notifications about this bug go to: