AESCrypt

Discussion related to AES Crypt, the file encryption software for Windows, Linux, Mac, and Java.
Post Reply
supriya1234
Posts: 8
Joined: Thu May 18, 2017 6:07 pm

AESCrypt

Post by supriya1234 »

I am using

Code: Select all

ssh user@host aescrypt -e -p passkey /home/abc.txt
to encrypt in remote system but i want encrypted file to be saved directly in local system but not in remote system can tell me how to do it ?
User avatar
paulej
Posts: 595
Joined: Sun Aug 23, 2009 7:32 pm
Location: Research Triangle Park, NC, USA
Contact:

Re: AESCrypt

Post by paulej »

You could do something like this:

Code: Select all

ssh user@host cat /home/abc.txt | aescrypt -e -p passkey -o abc.txt.aes -
That will encrypt in the local system, though.

To encrypt in the remote system, perhaps this:

Code: Select all

ssh user@host aescrypt -e -p passkey -o - /home/abc.txt >abc.txt.aes
Post Reply