search for: open_channel

Displaying 3 results from an estimated 3 matches for "open_channel".

Did you mean: open_channels
2008 Oct 20
0
CGI and NET::SSH in the same script problems
...net/ssh from a CGI or how to debug this in a browser environment? ----------------------------- ruby cgi script --------------------------------- require ''cgi'' require ''rubygems'' require ''net/ssh'' def do_sync_cmd( session, command ) session.open_channel do |channel| channel.env("PATH", "/usr/pbs/bin:/acct/uzer/test/bin") channel.exec("#{command}") do |ch, success| abort @myString.concat("could not execute #{command}") unless success channel.on_data do |ch, data| @myString.concat(&quo...
2006 Aug 16
7
Forward of moderated message
OK I know whats happening. Your while loop completes and calls kill on the worker before your task_progress controller method ever gets called> So the worker is deleted and when you try to access it from rails you get an error because there is no longer a worker at that job key. The kill method is meant to be used within a worker that you fire and forget. If you want to get the
2002 Jul 31
18
so-called-hang-on-exit
so, should this go into 3.5? Index: serverloop.c =================================================================== RCS file: /home/markus/cvs/ssh/serverloop.c,v retrieving revision 1.103 diff -u -r1.103 serverloop.c --- serverloop.c 24 Jun 2002 14:33:27 -0000 1.103 +++ serverloop.c 12 Jul 2002 16:34:20 -0000 @@ -388,6 +388,11 @@ buffer_append(&stderr_buffer, buf, len); } } + /*