kill method

void kill(
  1. SSHSignal signal
)

Deliver signal to the remote process. Some implementations may not support this.

Implementation

void kill(SSHSignal signal) {
  _channel.sendSignal(signal.name);
}