[clug] Anyone keep their SSH keys on a USB flash drive or in an encrypted filesystem?

Logan McLintock u4955237 at anu.edu.au
Sun Oct 6 23:50:57 MDT 2013


Sorry,

my email is acting weird

1) never tried for shh key
2) don't think it works on a whole folder
3) but for any single file, i am very confident it will work

Thank you - I am a noob -)

http://askubuntu.com/questions/27770/is-there-a-tool-to-encrypt-a-file-or-directory



For single files, openssl is very useful, especially when sending the file over an unsecured channel (e.g. e-mail). It's free (in money and in freedom), unlike Truecrypt, which is only free in money.

Encrypt:

openssl aes-256-cbc -salt -in unencrypted_file -out encrypted_file


You'll be asked for a password, which you have to input twice.

Decrypt:

openssl aes-256-cbc -d -in encrypted_file -out unencrypted_file


http://www.cyberciti.biz/tips/linux-how-to-delete-file-securely.html



$ shred -n 200 -z -u  personalinfo.tar.gz

Where,

  *   -n: Overwrite N (200) times instead of the default (25)
  *   -z: Add a final overwrite with zeros to hide shreddin
  *   -u: Truncate and remove file after overwriting

-) cyclops


On 07/10/2013, at 4:01 PM, steve jenkin <sjenkin at canb.auug.org.au<mailto:sjenkin at canb.auug.org.au>> wrote:

Logan McLintock wrote on 7/10/13 3:57 PM:
Simple =)

Just encrypt the folder using open-ssl aes-256
and then put in on the usb
Then when you need it decrypt it and use it
Then shred the unencrypted file
-) cyclops
Logan

Logan,

Thanks very much for that.

Have you ever had any problems when you've done that?

cheers
steve

--
Steve Jenkin, Info Tech, Systems and Design Specialist.
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

sjenkin at canb.auug.org.au<mailto:sjenkin at canb.auug.org.au> http://members.tip.net.au/~sjenkin




More information about the linux mailing list