<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 1: Exception with Cisco IOS</title><link>https://sourceforge.net/p/sharpssh/bugs/1/</link><description>Recent changes to 1: Exception with Cisco IOS</description><atom:link href="https://sourceforge.net/p/sharpssh/bugs/1/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 31 Jul 2007 11:37:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sharpssh/bugs/1/feed.rss" rel="self" type="application/rss+xml"/><item><title>Exception with Cisco IOS</title><link>https://sourceforge.net/p/sharpssh/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When communicating over SSH with Cisco IOS, an exception occurs when more than one request is made using the SshExec.RunCommand method. To successfully reproduce one has to add a Thread.Sleep call after the RunCommand call. If not the entire application using SharpSSH hangs. One request runs ok.&lt;/p&gt;
&lt;p&gt;I'm running the commands in batch (no delay except for the Thread.Sleep).&lt;/p&gt;
&lt;p&gt;Exception:&lt;/p&gt;
&lt;p&gt;Unhandled Exception: Tamir.SharpSsh.jsch.JSchException: session is down&lt;br /&gt;
at Tamir.SharpSsh.jsch.Session.openChannel(String type)&lt;br /&gt;
at Tamir.SharpSsh.SshExec.GetChannelExec(String command)&lt;br /&gt;
at Tamir.SharpSsh.SshExec.RunCommand(String command, String&amp;amp; StdOut, String&amp;amp;&lt;br /&gt;
StdErr)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Bjørn Terje Svennes (bsvennes&amp;lt;nospm_remove&amp;gt;@online.no)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 31 Jul 2007 11:37:42 -0000</pubDate><guid>https://sourceforge.net6c2d345019bbe072aed7945c76fb901c1ce43c86</guid></item></channel></rss>