Skip to content

Instantly share code, notes, and snippets.

@colinvh
Last active August 29, 2015 13:56
Show Gist options
  • Save colinvh/8961177 to your computer and use it in GitHub Desktop.
Save colinvh/8961177 to your computer and use it in GitHub Desktop.
fabp - supply Fabric with a password
#!/bin/bash
fab -p "`read -s -p Password: ; echo 1>&2 ; echo $REPLY`" "$@"
@colinvh
Copy link
Author

colinvh commented Feb 12, 2014

Now you can decorate calls that use sudo with @parallel!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment