# File lib/net/ssh/connection/channel.rb, line 284 def close return if @closing if remote_id @closing = true connection.send_message(Buffer.from(:byte, CHANNEL_CLOSE, :long, remote_id)) end end