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.
345 346 347 |
# File 'lib/net/ssh/cli.rb', line 345 def cli_channels @cli_channels end |
Instance Method Details
#cli(**opts) ⇒ Object
346 347 348 349 350 |
# File 'lib/net/ssh/cli.rb', line 346 def cli(**opts) cli_session = Net::SSH::CLI::Session.new({ net_ssh: self }.merge(opts)) cli_session.open_channel cli_session end |