EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SimpleSFTPDemo not connecting to SFTP version 3.2.2

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 02/17/2015 13:24:07
by Sanoj Abraham (Basic support level)
Joined: 02/17/2015
Posts: 4

i am using the evaluation verison of SecureBlackBox
and the SimpleSFTPDemo does not connect to SFTP version 3.2.2
but it works fine with version 3.2.0

please advise
Posted: 02/17/2015 14:09:15
by Sanoj Abraham (Basic support level)
Joined: 02/17/2015
Posts: 4

can some one please assist on this ASAP
Posted: 02/18/2015 02:09:02
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

SFTP version 3.2.2

What is exact name of the server?

Could you try to connect to the server using our sample and post its log here. Please post log for both successfull and failed connections.
Posted: 02/18/2015 19:02:34
by Sanoj Abraham (Basic support level)
Joined: 02/17/2015
Posts: 4

Hi Vsevolod,
Thanks for the response
The Server is HP Integrity server with openVMS v8.4
and the SFTP version is 3.2.2

attached file has the snap shots of logs of successful and unsuccessful connection

please advise

Posted: 02/19/2015 02:59:18
by Vsevolod Ievgiienko (EldoS Corp.)

Please check this forum thread: https://www.eldos.com/forum/read.php?P...#nav_start It contains a few suggestions that may help to solve your problem.
Posted: 02/22/2015 23:35:51
by Sanoj Abraham (Basic support level)
Joined: 02/17/2015
Posts: 4

Thanks !
it worked by adding the following code

for (short j = SBSSHConstants.Unit.SSH_EA_FIRST; j <= SBSSHConstants.Unit.SSH_EA_LAST; j++)
                    SftpClient.set_EncryptionAlgorithms(j, false);

                for (short k = SBSSHConstants.Unit.SSH_KEX_FIRST; k <= SBSSHConstants.Unit.SSH_KEX_LAST; k++)
                    SftpClient.set_KexAlgorithms(k, false);

                for (short l = SBSSHConstants.Unit.SSH_MA_FIRST; l <= SBSSHConstants.Unit.SSH_MA_LAST; l++)
                    SftpClient.set_MacAlgorithms(l, false);

                SftpClient.set_EncryptionAlgorithms(SBSSHConstants.Unit.SSH_EA_DES, true);
                SftpClient.set_EncryptionAlgorithms(SBSSHConstants.Unit.SSH_EA_3DES, true);

                SftpClient.set_KexAlgorithms(SBSSHConstants.Unit.SSH_KEX_DH_GROUP, true);
                SftpClient.set_KexAlgorithms(SBSSHConstants.Unit.SSH_KEX_DH_GROUP_EXCHANGE, true);

                SftpClient.set_MacAlgorithms(SBSSHConstants.Unit.SSH_MA_HMAC_SHA1, true);
                SftpClient.set_MacAlgorithms(SBSSHConstants.Unit.SSH_MA_HMAC_MD5, true);
Posted: 02/22/2015 23:53:45
by Eugene Mayevski (EldoS Corp.)

Thank you for letting us know.

On a side note please use CODE button to mark the beginning and the end of the code block in your messages.

Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.



Topic viewed 722 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!