- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File compression and encryption
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2009 02:05 AM
тАО04-17-2009 02:05 AM
File compression and encryption
I am looking for a file compression and encryption Unix native command.
Also let me know the maximum file limit that can be compressed and encrypted.
I know there are third-party softwares like PGP which can do my job but need only unix native commands or scripts
Thanks
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2009 02:26 AM
тАО04-17-2009 02:26 AM
Re: File compression and encryption
For compression you can use compress and gzip commands.
Secure shell is using it's own encryption mechanism to transfer the files like PGP.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2009 02:53 AM
тАО04-17-2009 02:53 AM
Re: File compression and encryption
compress(1) will handle any size. gzip that comes with HP-UX will not handle more than 2 Gb unless you use a cat(1) pipe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2009 03:11 AM
тАО04-17-2009 03:11 AM
Re: File compression and encryption
Use crypt command if you wish to stick with unix native command. syntax are below.
For encrytion.
#crypt
Key:xxxxxx
For decryption.
#crypt
To open a encrypted file in vi
#vi -x filename.x
Key:xxxxxx
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2009 03:46 AM
тАО04-17-2009 03:46 AM
Re: File compression and encryption
You already got the basic information.
Note that Unix crypt is relatively weak.
One of the improvements is ccrypt.
It was designed as a replacement for the standard Unix crypt utility.
ccrypt is based on the Rijndael cipher, which is the U.S. government's chosen candidate for the Advanced Encryption Standard:
http://ccrypt.sourceforge.net/
Of course, there are many more choices.
If you use HP-UX 11.31, you could
even set up an Encrypted File System (EVFS).
I recently taught the updated course
H3541S (HP-UX Security) where EVFS is
part of the labs and one of the modules...
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2009 05:33 AM
тАО04-17-2009 05:33 AM
Re: File compression and encryption
Glad to have quick response
Cheers !!
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2009 11:19 PM
тАО04-17-2009 11:19 PM
Re: File compression and encryption
If you are happy with the answers you were given please read the following about reopening threads and assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#41
http://forums.itrc.hp.com/service/forums/helptips.do?#33