in reply to how to kill deattached process
For example:#!/usr/bin/perl print STDERR "PID: $$\n"; exec @ARGV;
Also, check this ticket on the OpenSSH bug tracking system: Bug 1424 - Cannot signal a process over a channel (rfc 4254, section 6.9). That feature, scheduled for inclusion in the next release of OpenSSH, would allow to send signals to the remote processes.$ ssh my.host.com tellpid echo 'hello world' PID: 15079 hello world
|
|---|