encryption - From an established ssh connection, what is a good way to encrypt messages on the side? -


If I have a connection between client and server using ssh. What is a good way to encrypt the data sent out of SSH connections to send large amounts of data quickly and safely? I can use SSIS connection to set the conditions of communication, the key to share etc., but then have to communicate together.

Simply select a random symmetric key on one side, send it to the SSI connection on the other hand, then your side traffic Use that key to encrypt. A 128-bit AES key should work fine, encryption / decryption by using AES is fast and secure.

You must also pass a random initial vector. There is no need to be more than SSH, but passing it with the key is probably the easiest.


Comments