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.
437 438 439 |
# File 'lib/net/ssh/cli.rb', line 437 def cli_channels @cli_channels end |
Instance Method Details
#cli(**opts) ⇒ Object
438 439 440 441 442 |
# File 'lib/net/ssh/cli.rb', line 438 def cli(**opts) cli_session = Net::SSH::CLI::Session.new({ net_ssh: self }.merge(opts)) cli_session.open_channel cli_session end |