File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -229,12 +229,24 @@ The last possibility is to instantiate each module by itself
229229
230230.. code-block :: python
231231
232-
233232 >> > from ssh_utilities import Connection, Os, Subprocess
234233 >> > conn = Connection.get(< server_name> , < local> , < quiet> , < thread_safe> )
235234 >> > remote_os = Os(conn)
236235 >> > remote_subprocess = Subprocess(conn)
237236
237+ ssh_utilities now contains ``MultiConnection `` container which cleverly
238+ manages multiple individual connections for you. You can carry out same
239+ command across multiple servers asynchronously and many more! Detailed
240+ information is in the docs.
241+
242+ .. code-block :: python
243+
244+ >> > from ssh_utilities import MultiConnection
245+ >> > with MultiConnection(< server_names_list> , local = False ,
246+ thread_safe = True ) as mc:
247+ >> > mc.< some_attribute>
248+ >> > ...
249+
238250
239251 Contributing
240252------------
You can’t perform that action at this time.
0 commit comments