Blog Archives

Fabric API

Fabric is made up of Core API + Contrib API. Operations is part of the core api: local – Run a command on the local system. run – Run a shell command on a remote host. sudo – Run a

Posted in Fabric, Python

Fabric (SSH & passwords)

Option 1 – provide password with -p flag fab -H hostname -p password123 … Downside: password will show up in process listing Downside: password will show up in command history Option 2 – get prompted for password fab -I Initial

Posted in Fabric, Linux, Python, Security

Installing Fabric

Linux Installing fabric on LInux/Unix machine is quite simple: apt-get install fabric or aptitude install fabric Windows On windows the process is a bit more complex, see: https://fabric.readthedocs.org/en/1.8/installation.html The installation page mentions the dependencies that are required, however there are

Tagged with: ,
Posted in Fabric, Python