EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SSH 7 Error,

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#33480
Posted: 05/29/2015 07:42:39
by Dhana Vellachamy (Basic support level)
Joined: 04/24/2015
Posts: 5

We had a port which was working perfectly fine, suddenly it started showing the SSH 7 error.

[5/28/2015 11:30:00.432] EldoS SFTP Adapter (send): ProcessMessage()
[5/28/2015 11:30:00.432] Searching for installed BizCrypto addons.
[5/28/2015 11:30:00.432] No addons found (the exact message: BizCrypto.BizTalk.Addons. Could not load file or assembly 'BizCrypto.BizTalk.Addons, Version=11.0.255.0, Culture=neutral, PublicKeyToken=cca2e44e2b320358' or one of its dependencies. The system cannot find the file specified.)
[5/28/2015 11:30:00.432] EldoS SFTP Adapter: Loading private key
[5/28/2015 11:30:00.432] EldoS SFTP Adapter: Loading trusted keys
[5/28/2015 11:30:00.432] EldoS SFTP Adapter: Loading trusted key fingerprints
[5/28/2015 11:30:00.432] EldoS SFTP Adapter: 0 fingerprints have been successfully loaded
[5/28/2015 11:30:00.447] EldoS SFTP Adapter: Opening connection to SFTP server
[5/28/2015 11:30:01.010] EldoS SFTP Adapter: SSH error 7
[5/28/2015 11:30:01.010] EldoS SFTP Adapter: Call stack: at BizCrypto.BizTalk.Adapters.SFTP.SFTPCommon.OnError(Object Sender, Int32 ErrorCode)
at SBSimpleSftp.TElSimpleSFTPClient.DoError(Object Sender, Int32 ErrorCode)
at SBSSHCommon.TElSSHClass.DoError(Int32 ErrorCode)
at SBSSHClient.TElSSHClient.SSH2ChooseAlgorithms(TElStringList KexLines)
at SBSSHClient.TElSSHClient.SSH2ParseKexInit(Byte[] Buffer, Int32 Size)
at SBSSHClient.TElSSHClient.SSH2ParseOnTransportLayer(Byte[] Buffer, Int32 Size)
at SBSSHClient.TElSSHClient.AnalyseBuffer()
at SBSSHClient.TElSSHClient.DataAvailable()
at SBSimpleSftp.TElSimpleSFTPClient.DataAvailable()
at SBSimpleSftp.TElSimpleSFTPClient.DoMessageLoop()
at SBSimpleSftp.TElSimpleSFTPClient.Open()
at BizCrypto.BizTalk.Adapters.SFTP.SFTPCommon.OpenClient()
at BizCrypto.BizTalk.Adapters.SFTP.SFTPCommon.DoWork(Trace trace, IBaseMessage message, AdapterProperties props, Boolean upload, ArrayList fileList, ImpersonateUser& impersonateUser)
at BizCrypto.BizTalk.Adapters.SFTP.SFTPAsyncTransmitterBatch.ProcessMessage(IBaseMessage message, AdapterProperties props)
at BizCrypto.BizTalk.Adapters.SFTP.SFTPAsyncTransmitterBatch.TransmitMessage(TransmitterMessage msg)
at BizCrypto.BizTalk.Adapters.AsyncTransmitterBatch.ProcessWorkItem()
at BizCrypto.BizTalk.Adapters.ThreadPool.WorkerThreadThunk(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

[5/28/2015 11:30:01.010] EldoS SFTP Adapter: Failed to transfer file(s): Connection lost (error code is 10058)

Stack:
at SBSimpleSftp.TElSimpleSFTPClient.DoSend(Object Sender, Byte[] Buffer)
at SBSSHCommon.TElSSHClass.DoSend(Byte[] Buffer, Int32 Size)
at SBSSHClient.TElSSHClient.SSH2SendOnTransportLayer(Int32 Size)
at SBSSHClient.TElSSHClient.SSH2SendDisconnect(Int32 ReasonCode, Byte[] Desc)
at SBSSHClient.TElSSHClient.PerformClose(Boolean Forced, String CloseReason)
at SBSSHClient.TElSSHClient.SSH2ChooseAlgorithms(TElStringList KexLines)
at SBSSHClient.TElSSHClient.SSH2ParseKexInit(Byte[] Buffer, Int32 Size)
at SBSSHClient.TElSSHClient.SSH2ParseOnTransportLayer(Byte[] Buffer, Int32 Size)
at SBSSHClient.TElSSHClient.AnalyseBuffer()
at SBSSHClient.TElSSHClient.DataAvailable()
at SBSimpleSftp.TElSimpleSFTPClient.DataAvailable()
at SBSimpleSftp.TElSimpleSFTPClient.DoMessageLoop()
at SBSimpleSftp.TElSimpleSFTPClient.Open()
at BizCrypto.BizTalk.Adapters.SFTP.SFTPCommon.OpenClient()
at BizCrypto.BizTalk.Adapters.SFTP.SFTPCommon.DoWork(Trace trace, IBaseMessage message, AdapterProperties props, Boolean upload, ArrayList fileList, ImpersonateUser& impersonateUser)
[5/28/2015 11:30:01.010] EldoS SFTP Adapter: Closing the connection
[5/28/2015 11:30:01.010] EldoS SFTP Adapter (send): Error: Connection lost (error code is 10058)

what could be the issue. Any help is greatly appreciated.
#33508
Posted: 06/01/2015 10:04:03
by Ken Ivanov (EldoS Corp.)

Hi Dhana,

Error 7 stands for ERROR_SSH_UNSUPPORTED_CIPHER error ID, which is normally returned if the parties were unable to agree on a shared cipher. It is likely that the server-side software has been upgraded/tuned up and the new cipher configuration came in force.

First of all, please try to play with the Compatibility Mode property. If it used to be set to Old, please try switching it to Default. If it doesn't help (or it is already set to Default), please try switching it to Progressive and check if the adapter is able to pick the files in that mode.

If none helps, just let us know and we will advise you on the further steps to take.

Ken
#33509
Posted: 06/01/2015 10:21:45
by Dhana Vellachamy (Basic support level)
Joined: 04/24/2015
Posts: 5

Ken,

We have tried everything which is given in the https://www.eldos.com/security/articles/6478.php?page=all For SSH7 error.

3.If there is no errors reported in the event log or some socket error code is reported (100xy), or you have been redirected here from step 2, the negotiation failure might be caused by interoperability issues. Please do the following to set up the component in the most liberal (though not always the most effective) mode:

set CompatibilityMode to Old,
set ASCIIMode, UseUTF8, FIPSMode, UseIPv6, ForceCompression properties to false,
set TrustAllKeys to true (for debugging purposes only (!) – setting this property to true in real-world environments makes the overall security of the system void).

Now run the component again and check if the issue is still there. If the problem is resolved, remember to set TrustAllKeys back to false.

But got the same error
#33511
Posted: 06/01/2015 11:40:32
by Ken Ivanov (EldoS Corp.)

Dhana,

Thank you for the details.

Would it be possible for you to share the address of your SFTP server with us (no credentials required, just the server's address)? We'll then be able to connect to it from our development environment and check which algorithms it supports.

Ken
#33513
Posted: 06/01/2015 12:41:12
by Dhana Vellachamy (Basic support level)
Joined: 04/24/2015
Posts: 5

I have created a ticket, can I post the server address there.

Thanks
#33515
Posted: 06/01/2015 12:54:03
by Eugene Mayevski (EldoS Corp.)

Yes please , let's continue in the HelpDesk ticket.


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.

Reply

Statistics

Topic viewed 4347 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!