Hello -

I am currently evaluating Rebex SFTP for .NET Trial Version 2.0.4086.0. I am writing a test app to connect/login to a sftp server and I am getting the following exception at login: SSH: System.InvalidOperationException: Not enough data. Any ideas as to what can be causing this issue?

I am able to connect/login to the server in question with WinSCP.

Here is my log file:


2011-10-25 13:44:38.973 Opening log file.
2011-10-25 13:44:39.770 INFO Sftp(1) Info: Connecting to xx.xx.xx.xx:22 using Sftp 2.0.4086.0 (trial version).
2011-10-25 13:44:40.114 DEBUG Sftp(1) SSH: Server is 'SSH-1.99-2.0.13 (non-commercial)'.
2011-10-25 13:44:40.130 INFO Sftp(1) SSH: Negotiation started.
2011-10-25 13:44:40.286 DEBUG Sftp(1) SSH: Negotiating key.
2011-10-25 13:44:40.677 DEBUG Sftp(1) SSH: Validating signature.
2011-10-25 13:44:40.786 INFO Sftp(1) SSH: Negotiation finished.
2011-10-25 13:44:40.786 INFO Sftp(1) Info: Server: SSH-1.99-2.0.13 (non-commercial)
2011-10-25 13:44:40.786 INFO Sftp(1) Info: Fingerprint: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
2011-10-25 13:44:40.786 INFO Sftp(1) Info: Cipher info: SSH 2.0, Diffie-Hellman-Group1-SHA1, DSS, 3des-cbc/3des-cbc, MD5/MD5
2011-10-25 13:44:40.927 ERROR Sftp(1) SSH: System.InvalidOperationException: Not enough data.
   at wWGvS.CEztJUZ.mkBlG()
   at wWGvS.CEztJUZ.cCBqtZ()
   at wWGvS.CEztJUZ.AldoPCZ()
   at wWGvS.AopByrZ..ctor(Byte[] buffer, Int32 offset, Int32 count, Encoding encoding)
   at Rebex.Net.SshSession.CgoKrJZ()
   at Rebex.Net.SshSession.cCIjvV(String , String , SshPrivateKey , SshGssApiCredentials )
2011-10-25 13:44:40.927 ERROR Sftp(1) Info: System.InvalidOperationException: Not enough data.
   at wWGvS.CEztJUZ.mkBlG()
   at wWGvS.CEztJUZ.cCBqtZ()
   at wWGvS.CEztJUZ.AldoPCZ()
   at wWGvS.AopByrZ..ctor(Byte[] buffer, Int32 offset, Int32 count, Encoding encoding)
   at Rebex.Net.SshSession.CgoKrJZ()
   at Rebex.Net.SshSession.cCIjvV(String , String , SshPrivateKey , SshGssApiCredentials )
   at Rebex.Net.SshSession.Authenticate(String userName, String password, SshPrivateKey privateKey)
   at Rebex.Net.Sftp.Login(String userName, String password, SshPrivateKey privateKey)

asked 25 Oct '11, 21:11

sntijerina's gravatar image

sntijerina
15
accept rate: 0%

This means that either a broken packet was received or there is a bug in one of our packet parsers. Could you please run this again with LogLevel.Verbose instead of LogLevel.Debug level? A Verbose log would include the problematic packet as well and we should be able to tell what is going on and possibly fix it.

(26 Oct '11, 16:27) Lukas Pokorny ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×141
×44
×9
×3

Asked: 25 Oct '11, 21:11

Seen: 226 times

Last updated: 26 Oct '11, 16:27