[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kill remote process


On 14/05/11 06:16, Andreas Schneider wrote:
On Friday, May 13, 2011 23:48:49 you wrote:
Hi,
Hi Paulo,

None of the signals worked. The process is still hanging there.

I'm not sure whether this is a bug or a missing detail.

The server is openssh v5.4p1-8.2 (Opensuse 11.3 x86-64). I'm using libssh
version is 0.4.2-1.19 (bundled with opensuse).

Any idea is appreciated.
Have you enabled more verbose logging on the server and checked the logs
there?

	-- andreas


Hi, Andreas. Thank you for the reply

I haven't considered taking a look at the server side of the issue. Apparently, signals are not supported by openssh yet <https://bugzilla.mindrot.org/show_bug.cgi?id=1424>.

In the end, the solution was way simpler than I thought. I assigned the channel to a pty and then killed the process by sending ASCII 0x03 (CTRL-C).

        -- Paulo

References:
Re: Kill remote processAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org