login about faq

CkSsh ssh; bool success = ssh.UnlockComponent("Anything for 30-day trial"); char hostname[100] = ""; int port = 22; success = ssh.Connect(hostname,port); if (success != true) { strOut.append(ssh.lastErrorText()); AfxMessageBox(strOut.getString()); return; ``} ssh.put_IdleTimeoutMs(10000);

//  Authenticate using login/password:
success = ssh.AuthenticatePw("admin","admin");
if (success != true) {
long channelNum;
channelNum = ssh.OpenDirectTcpIpChannel("www.chilkatsoft.com",80);

I got channelNum = -1 and reason code is 2 although ssh connect and authenticate success. I got reason code 2 but didn't know why it can't open an channel tcpip. I tried with another 10 sshhost name (all tested with bitwise is ok) but the same problem with above. Send email is the same problem when put sshhostname,sshuser,sshpass. I using bitwise tunnel to create sockks5 then attach to firefox it works. Anyone know Please let me know what is the problem ? Thank you

asked Jan 23 '14 at 19:11

htnet2005's gravatar image


edited Jan 23 '14 at 20:09

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: Jan 23 '14 at 19:11

Seen: 797 times

Last updated: Jan 23 '14 at 20:09

powered by OSQA