Page 1 of 1

Forcing algorithm used for encryption

Posted: Tue 10 Sep 2013 09:08
by RDTelecom
Hello,

I have seen that when the SSH client and server connection is established a list of supported encryption algorithms (ciphers) on both sides is available.
By default it looks that the first algorithm supported on both sides is selected for encryption, is there a way to force it in some way ?
I have blowfish-cbc, cast128-cbc, aes128-cbc, 3des-cbc supported and would like to compare performances.

Thanks for your replies.

Re: Forcing algorithm used for encryption

Posted: Mon 23 Sep 2013 10:27
by Dimon
You can choose any cipher algorithm for using by setting the TScSSHClient.CiphersClient and CiphersServer properties, like this:

Code: Select all

ScSSHClient1.CiphersClient.AsString := 'blowfish-cbc';
ScSSHClient1.CiphersServer.AsString := 'blowfish-cbc';

Re: Forcing algorithm used for encryption

Posted: Mon 23 Sep 2013 10:29
by Dimon
RDTelecom wrote:I have blowfish-cbc, cast128-cbc, aes128-cbc, 3des-cbc supported and would like to compare performances.
The blowfish-cbc encryption algorithm is the fastest :)

Re: Forcing algorithm used for encryption

Posted: Mon 23 Sep 2013 13:23
by RDTelecom
Thanks

Re: Forcing algorithm used for encryption

Posted: Tue 24 Sep 2013 08:52
by Dimon
If any other questions come up, please contact me.