# File lib/net/ssh/shell.rb, line 185
  def shell(*args)
    shell = Net::SSH::Shell.new(self, *args)
    yield shell if block_given?
    shell
  end