Class: Net::SSH::Connection::Session
- Inherits:
-
Object
- Object
- Net::SSH::Connection::Session
- Defined in:
- lib/net/ssh/cli.rb
Instance Attribute Summary collapse
-
#cli_channels ⇒ Object
Returns the value of attribute cli_channels.
Instance Method Summary collapse
Instance Attribute Details
#cli_channels ⇒ Object
Returns the value of attribute cli_channels.
459 460 461 |
# File 'lib/net/ssh/cli.rb', line 459 def cli_channels @cli_channels end |
Instance Method Details
#cli(**opts) ⇒ Object
460 461 462 463 464 |
# File 'lib/net/ssh/cli.rb', line 460 def cli(**opts) cli_session = Net::SSH::CLI::Session.new({ net_ssh: self }.merge(opts)) cli_session.open_channel cli_session end |