dear admin,
I have RAD 10 Seattle and this morning I installed lastest SecureBridge. my team want to create SSH Tunnel so we added ScSSHClient and ScSSHChannel, it work perfectly but when we added proxy (in HttpOptions) the connection fail. its look like this in SmartSniff (or WireShark will be same)
----
GET /?a=t&s=146.185.253.101&p=443&id=610108_532355&port=0 HTTP/1.0
Proxy-Connection: Keep-Alive
Port: 80
Cache-Control: no-store,no-cache
Pragma: no-cache
----
whereas PuTTY will always like this
----
CONNECT 146.185.253.101:443 HTTP/1.0
----
so, is there any way to accomplish like in SecureBridge?
----
CONNECT 146.185.253.101:443 HTTP/1.0
X-Online-Host : myproxyserver.com
ExtraHeader1 : value1
ExtraHeader2 : value2
----
please help.
thank you,
help. cant connect ScSSHClient with proxy
Re: help. cant connect ScSSHClient with proxy
SecureBridge allows to work with SSH server via proxy only using HTTP tunneling. Note that the TscSSHClient.HostName property holds the SSH server address, relatively to the PHP server. Please make sure that the SSH server is available from the machine with PHP server. If it is available, then provide the full error message text you get in your application.