This project has moved and is read-only. For the latest updates, please go here.

SFTP Adapter Configuration Error

Apr 19, 2012 at 6:58 AM
Edited Apr 23, 2012 at 8:18 AM

HI Team,

while establishing the connection to the client usine sftp adapter am getting the below errors.Please help me if you have any solutions.

Biztalk server 2010


Partner side:

  • failed to resolve remote host name
  •  400 error
  • 411 error
  • 402 error

MY Side:

We have test the SFTP connectivity, still  it is failing with the same issue.


Type: Tamir.SharpSsh.jsch.JSchException

Target: Void connect(Int32)

Message: Session.connect: System.Security.Cryptography.CryptographicException: Bad Data.


   at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)

   at System.Security.Cryptography.Utils._ImportKey(SafeProvHandle hCSP, Int32 keyNumber, CspProviderFlags flags, Object cspObject, SafeKeyHandle& hKey)

   at System.Security.Cryptography.DSACryptoServiceProvider.ImportParameters(DSAParameters parameters)

   at Tamir.SharpSsh.jsch.jce.SignatureDSA.verify(Byte[] sig)

   at _buf)

   at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)


   at Tamir.SharpSsh.jsch.Session.connect(Int32 connectTimeout)

   at Tamir.SharpSsh.SshBase.Connect(Int32 tcpPort)

   at Blogical.Shared.Adapters.Sftp.SharpSsh.Sftp.connect(Boolean force)

 **Login failure reason key exchange failud.

Partner SFTP error log: For key exchange failure


**Please help me to resolve.