2

Duplicity - how to put passphrase in CMD?

view story
linux-howto

http://serverfault.com – I've tried a number of obvious commands as detailed in Duplicity Man page to do this but doesn't seem to work. Scenario I'm SSH'ing to a machine, then running Duplicity; below is the CMD, of sorts:- ssh -i /keys/key.pem -o StrictHostKeyChecking=no user@ipAddress "sudo duplicity --s3-european-buckets --s3-use-new-style /local/dir/stuff s3+http://bucket/dir/" Problem is, it's always asking for a passphrase, and I want to run this as an automated process without CLi user replies. The man page only precise reference is to the environment variable PASSPHRASE, but makes little mention (with enc (HowTos)