How To's Ubuntu

How To Encrypt / Decrypt Files in Ubuntu/Debian with Two Commands

In this tutz, I will discuss how to easily and quickly encrypt and decrypt files using very simple commands on Ubuntu

First install ccrypt on Ubuntu using this command:

For Debian, run these commands:

To encrypt a file, cd to its folder and run this command:

Replace “file_name” with the name of your file. You will be asked to submit a password two times. The encrypted file will have the .cpt extension.

To decrypt the file, use now this command and provide the password you assigned to it:

🙂 -pr3p

I started blogging around 2011 at #Ubuntupirates, #ProjectX and #pir8geek, I’m currently working as Network/Linux SysAdmin.

I’m a Linux,opensource advocate and interested in network security and InfoSec.

Leave a Reply