Tunneling through SSH for 1521 port access?
        Posted  
        
            by 
                A T
            
        on Super User
        
        See other posts from Super User
        
            or by A T
        
        
        
        Published on 2012-09-21T09:02:49Z
        Indexed on 
            2012/09/21
            9:40 UTC
        
        
        Read the original article
        Hit count: 238
        
I am developing locally on my computer, using my own Apache server with PHP configured.
My database however is remotely located on an Oracle 11g Database Server. We were also given a separate remote server for hosting our .html and .php files, however only FTP access has been provided there. Development is far too slow waiting for the FTP connection to push.
So I decided to develop locally, but still use the remote DB server. Unfortunately that gives me an error.
Not sure how—or where—to integrate tunnelling.
Do I add something to the oci_connect HOST in my PHP file, or do I encapsulate my whole environment over SSH?
© Super User or respective owner