I currently have HAProxy set up on my home PC and I am attempting to access it through a HTTP proxy. Currently I am accessing the SSH logon prompt like so:
openssl s_client->proxytunnel->HTTP(S) proxy->remote HAProxy->SSH server
I am getting to the point where I receive the
SSH-2.0-OpenSSH prompt but for some reason it just hangs at the prompt and doesn’t pass through the private key.
Here’s the commands I am executing on the client side & how I set up proxy tunnel to use the organization's proxy:
proxytunnel -p httpproxy.organization.com:8080 -d ssh.homeserver.com:443 -a 7000
Next I am running
openssl like so:
openssl s_client -connect localhost:7000 -quiet -key /home/user/.ssh/id_rsa
But for some reason the certificate does not appear to get passed through. I am most likely missing a step so any suggestions would be greatly appreciated!