SSH: Close unused cached connections after a period of inactivity.
We keep connections open to avoid re-doing the authentication procedure when the user runs or deploys a remote app repeatedly. However, the connections should not be around indefinitely; we therefore now close them after about five minutes of inactivity. Change-Id: Ie677eb133b618d34c08528da2f2bc221472316b3 Reviewed-by: hjk <firstname.lastname@example.org> Reviewed-by: Christian Kandeler <email@example.com>
Showing with 47 additions and 13 deletions