# File lib/net/ssh/connection/channel.rb, line 578
      def do_eof
        @on_eof.call(self) if @on_eof
      end