login about faq

So I have been attempting to make a connection to an openBSD sshd using the chilkat SFTP C++ client following the example code: unlock, connect, authenticate, initialize and every time the initialize method is called the server issues a reset connection. RTunning wire shark tells me that the key exchange is happening and the log is similar to a Filezilla sftp exchange. My partial code is as follows: if(sftp.Connect("", 22) == true) { cout << "Successfully connected to SFTP Server" << endl; if(sftp.AuthenticatePw("user","password") == true) { cout << "Successfully Authenticated" << endl; if(sftp.InitializeSftp() == true) { cout << "Successfully Initialized" << endl; // Do something... if(sftp.OpenDir(path.c_str(), dir) == true)

Has anyone had this issue? There doesn't seem to be any questions on this matter. Thanks in advance. Also, the ssh-agent is reporting an error code: iocp error: 6 (Packet composed incorrectly)

asked Aug 31 at 10:57

Tom's gravatar image


edited Aug 31 at 15:07

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



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



Asked: Aug 31 at 10:57

Seen: 368 times

Last updated: Aug 31 at 15:07

powered by OSQA