Learning Python Networking - Second Edition
by José Manuel Ortega, Dr. M. O. Faruque Sarker, Sam Washington
Fabric
Fabric is a Python library and a command-line tool that's designed to simplify application deployment and perform system administration tasks through the SSH protocol. It provides tools to execute arbitrary shell commands (either as a normal login user, or via sudo), upload and download files, and so on.
Fabric (http://www.fabfile.org) is a high-level Python (2.7, 3.4+) library that's designed to execute shell commands remotely over SSH so that we can control a group of SSH servers in parallel. It is possible to use Fabric directly from the command line by executing the fab utility or with the API that contains all the classes and decorators that are needed to declare a set of SSH servers, as well as the tasks that we want to execute ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access