<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 1: Exception with Cisco IOS</title><link href="https://sourceforge.net/p/sharpssh/bugs/1/" rel="alternate"/><link href="https://sourceforge.net/p/sharpssh/bugs/1/feed.atom" rel="self"/><id>https://sourceforge.net/p/sharpssh/bugs/1/</id><updated>2007-07-31T11:37:42Z</updated><subtitle>Recent changes to 1: Exception with Cisco IOS</subtitle><entry><title>Exception with Cisco IOS</title><link href="https://sourceforge.net/p/sharpssh/bugs/1/" rel="alternate"/><published>2007-07-31T11:37:42Z</published><updated>2007-07-31T11:37:42Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net6c2d345019bbe072aed7945c76fb901c1ce43c86</id><summary type="html">&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;</summary></entry></feed>