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