libssh cancel a command

Has anyone played around with libssh? I'm using it to create a little blender 3d rendering farm between all my old computers to boost my rendering time.

Anyway, I've actually got it up to the point that I can actually call a remote command to another computer, now I need to be able to cancel that remote command if I decide to make changes before it finishes. Currently closing my main program does nothing to stop those remote commands.

I think this is the one I want but I can't figure out how use this function;
int ssh_channel_request_send_exit_signal (ssh_channel channel, const char * sig, int core, const char * errmsg, const char * lang )
http://api.libssh.org/master/group__libssh__channel.html#gabd3a5c8ef800f6c6ffdcc5f62557434c

I can't find an example of its use.
Last edited on
Topic archived. No new replies allowed.