login about faq


I am trying to use the SSH PHP Extension on my linux server hosted on an VPS Server..The Extension is loaded fine..

I am using the following script:

include("chilkat_9_4_1.php"); $sshTunnel = new CkSshTunnel();; $success = $sshTunnel->UnlockComponent('xxxx'); if ($success != true) { print $sshTunnel->lastErrorText() . "n"; exit; }

$sshTunnel->DestPort = 80; $sshTunnel->DestHostname = 'xxx.xxx.xxx.xxx';

$sshTunnel->SshHostname = 'xxx.xxx.xxx.xxx'; $sshTunnel->SshPort = xxx; $sshTunnel->SshLogin = 'xxx'; $sshTunnel->SshPassword = 'xxxx'; $listenPort = 3316; //Listen Port $success = $sshTunnel->BeginAccepting($listenPort); if ($success != true) { print $sshTunnel->lastErrorText() . "n"; exit; }

BeginAccepting gives me the following error: It gives me the following error.. ChilkatLog: BeginAccepting: DllDate: Jul 16 2013 ChilkatVersion: UnlockPrefix: xxxxxxx SSH Architecture: Little Endian; 32-bit Language: Linux PHP VerboseLogging: 0 listenPort: 3316 destPort: 0 destHostname: acceptThreadSessionLogPath: Invalid destination port. Invalid destination hostname or IP address. Failed. --BeginAccepting --ChilkatLog

Can you please provide some clues

asked Aug 22 '13 at 10:44

murtsr's gravatar image


Please use "pre" tags so that your code and the LastErrorText contents are readable..


answered Aug 22 '13 at 11:09

chilkat's gravatar image

chilkat ♦♦

Your answer
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 22 '13 at 10:44

Seen: 1,630 times

Last updated: Aug 22 '13 at 11:09

powered by OSQA