SshChannel.close

void close()

Closes the channel. The close handshake completes through session pumping; closed reflects completion. Pending operations complete with cancellation errors or their outcomes.