By Katsumii-Oracle on Apr 24, 2015
When you are in the office and you want to ssh to IaaS cloud, you may use PuTTy or corkscrew.
When your Oracle Database is running on Solaris and you want to create database link to Oracle Database
on cloud to pull data or push data, there's a better way. 'ssh-http-proxy-connect' command on Solaris.
A proxy command for ssh(1) that uses HTTP CONNECT. Typical use is where connections external to a network are only allowed via a proxy web server.
The example below doesn't create set up any port-forwarding but you can create one to port 1521 in a usual way.
ssh -o ProxyCommand="/usr/lib/ssh/ssh-http-proxy-connect -h webcache -p 8080 playtime.foo.com 22" playtime.foo.com