netcat for SSH connection through HTTP giving error: nc: Proxy error: "HTTP/1.1 200 Connection established"
Issue
- By running the following command:
nc -x our_proxy_ip:our_proxy_port -X connect example.com 22
* It returns
nc: Proxy error: "HTTP/1.1 200 Connection established"
* Expected result
SSH-2.0-OpenSSH_4.3
Environment
- Red Hat Enterprise Linux 5/6
- Using HTTP/1.1 proxy servers
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.