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)