Encrypting a file using OpenSSL

To encrypt a file, run

To decrypt, use

You can use -k option to provide password in commend line itself so it won’t prompt for password.

Here is a script i use to take backup



Add a Comment

Your email address will not be published. Required fields are marked *