help. cant connect ScSSHClient with proxy

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
snormell
Posts: 1
Joined: Sat 19 Mar 2016 12:58

help. cant connect ScSSHClient with proxy

Post by snormell » Sat 19 Mar 2016 13:35

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,

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: help. cant connect ScSSHClient with proxy

Post by ViktorV » Wed 23 Mar 2016 15:41

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.

Post Reply