I’m trying to connect to AWS instance through a tunnel in company laptop. If anyone has addressed the issue, please let me know. I installed socat. But running into issues with socks5. Here is the example command:
ssh -o ProxyCommand=‘socat - “socks5:%h:%p|tcp:[proxy-server]:[port]”’ -i “xyz.pem” ubuntu@ec2-[ip-address].us-east-2.compute.amazonaws.com
2017/10/27 19:19:37 socat E unknown device/address "socks5"
ssh_exchange_identification: Connection closed by remote host