Re: documentation & tutorials for net::ssh
- From: Jamis Buck <jamis@xxxxxxxxxxxxx>
- Date: Tue, 11 Oct 2005 05:00:19 +0900
On Oct 10, 2005, at 1:51 PM, bob wrote:
On Tue, 11 Oct 2005 04:08:35 +0900, Jamis Buck wrote:
Can you post an example of one of the scripts where you were doing
channel.close? Under what conditions do you want the channel to close?
- Jamis
None of the scripts I am trying to write are earth shattering. They (will
eventually) simply consist of running a script or a few commands piped
together on a remote server, grabbing & parsing the output to get some
variables, then building a web page containing those variables. None of
the scripts I want to get done have gone beyond dumping the output I want
to the shell at this point in time, because I want to know how to close
that ssh connection. I think just knowing what I need to do to the script
already given, to make it end gracefully, would solve my problem.
Bob,
Let me ask it this way. What shell command are you giving to the remote server? Are the commands self-terminating, or do they remain open waiting for a signal or key-press or whatever?
- Jamis
.
- Follow-Ups:
- References:
- documentation & tutorials for net::ssh
- From: bob
- Re: documentation & tutorials for net::ssh
- From: Jamis Buck
- Re: documentation & tutorials for net::ssh
- From: bob
- Re: documentation & tutorials for net::ssh
- From: hack0r
- Re: documentation & tutorials for net::ssh
- From: Jamis Buck
- Re: documentation & tutorials for net::ssh
- From: bob
- Re: documentation & tutorials for net::ssh
- From: bob
- documentation & tutorials for net::ssh
- Prev by Date: How to use Session
- Next by Date: Re: xmlrpc frustration
- Previous by thread: Re: documentation & tutorials for net::ssh
- Next by thread: Re: documentation & tutorials for net::ssh
- Index(es):
Relevant Pages
|
|