Bug 43704 - SSH connection is sometimes not correctly disposed after disconnecting XMA
Summary: SSH connection is sometimes not correctly disposed after disconnecting XMA
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: 4.2.0 (C8)
Hardware: PC Windows
: Normal normal
Target Milestone: 4.3.0 (C9)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-08-24 14:46 UTC by mag@xamarin.com
Modified: 2016-09-27 10:39 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description mag@xamarin.com 2016-08-24 14:46:56 UTC
Sometimes the SSH connection established is not correctly disposed after disconnecting XMA, causing sshd zombie process on Mac and a connection opened on Windows.

* Steps to reproduce:

1 - Open VS
2 - Connect to XMA
3 - Verify sshd instances on Mac after fully connected (ps -A | grep sshd)
4 - Verify SSH connections opened on Windows (using TCPView or similar)
5 - Disconnect XMA
6 - Repeat steps 3 and 4

* Expected Result:

No SSH connections should be opened after disconnecting XMA

* Actual Result:

An SSH connection remains alive, even if the rest are properly closed

* Comments:

The SSH connection alive has been identified as the connection established to use the SCP Client.
Comment 1 mag@xamarin.com 2016-08-24 18:44:37 UTC
Fixed in master branch, commit: 084ed17fab1e76166edf8bc20ea8da610103b019