<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 17: Session  disconnect problem</title><link>https://sourceforge.net/p/sharpssh/bugs/17/</link><description>Recent changes to 17: Session  disconnect problem</description><atom:link href="https://sourceforge.net/p/sharpssh/bugs/17/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 06 Dec 2010 12:27:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sharpssh/bugs/17/feed.rss" rel="self" type="application/rss+xml"/><item><title>Session  disconnect problem</title><link>https://sourceforge.net/p/sharpssh/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am facing a strange behavior which i can't avoid... &lt;br /&gt;
I have it all the time into my own C# project, so i have tested the sample and it is there too. &lt;/p&gt;
&lt;p&gt;Here is how to reproduce the behavior:&lt;br /&gt;
- run SSH File Transfer Sample &lt;br /&gt;
- either To or From direction &lt;br /&gt;
- using SCP protocol, transfer a file &lt;br /&gt;
- then press Enter key twice to close the session &lt;br /&gt;
--&amp;gt; If your Environment Debug options are set to break for Common Language Runtime Exceptions, then you can see following exception while the session is trying to disconnect: &lt;/p&gt;
&lt;p&gt;JStream.cs &lt;/p&gt;
&lt;p&gt;public override int Read(byte[] buffer, int offset, int count) &lt;br /&gt;
{ &lt;br /&gt;
return s.Read(buffer, offset, count); &lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at Tamir.SharpSsh.java.io.JStream.Read(Byte[] buffer, Int32 offset, Int32 count) in C:\SharpSSH\java\io\JStream.cs:line 19 Sometimes it appears onto the Write method. I don't see how to avoid that exception, &lt;/p&gt;
&lt;p&gt;thanks so much in advance to help me on this.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CodeFire</dc:creator><pubDate>Mon, 06 Dec 2010 12:27:16 -0000</pubDate><guid>https://sourceforge.net4f9e1bd26a088091364197f946fa77396736b465</guid></item></channel></rss>