# File lib/net/ssh/connection/channel.rb, line 301
    def eof!
      return if eof?
      @eof = true
      connection.send_message(Buffer.from(:byte, CHANNEL_EOF, :long, remote_id))
    end