| Class | Net::SSH::Multi::Subsession |
| In: |
lib/net/ssh/multi/subsession.rb
|
| Parent: | Object |
A trivial class for representing a subset of servers. It is used internally for restricting operations to a subset of all defined servers.
subsession = session.with(:app)
subsession.exec("hostname")
| master | [R] | The master session that spawned this subsession. |
| servers | [R] | The list of servers that this subsession can operate on. |
Create a new subsession of the given master session, that operates on the given server_list.