Hi,
i generate private and public key using below command.
ssh-keygen -t rsa
can you please share command for encryption and decryption file using above generated keys.
Regards,
Hi,
i generate private and public key using below command.
ssh-keygen -t rsa
can you please share command for encryption and decryption file using above generated keys.
Regards,
RSA keys are not suitable for encrypting files. You can only encrypt 200 bytes maximum.
Could I suggest you look at PGP or GPG.
I've used both and they seem pretty good. The same design of a public key for encryption and the private key for decryption, indeed they may even be from the same source. I'm quite happy to be made to look foolish if this is true.
Robin
can you please share PGP package for solaris and command to user public and private keys
Regards,