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