How can I use password protection with the tar command in Linux? I'm new to Linux so please explain to me with simple usage.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
migrated from stackoverflow.com Apr 19 '11 at 17:00
|
As far as I know tar doesn't provide this service. You could use 7zip instead, which does offer encrypted archives. What you can also do is use
This will give you a password protected archive. |
|||||||||||||||
|
|
Run the output through pgp
decrypt:
Consider using proper asymmetric keys (public/private keys) for real protection |
|||||||
|
