Differences between revisions 5 and 12 (spanning 7 versions)
Revision 5 as of 2014-03-07 18:39:36
Size: 548
Editor: frank
Comment:
Revision 12 as of 2014-03-07 18:57:43
Size: 666
Editor: frank
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
=== ssh tunel ssh -L === ## page was renamed from Tech/SSHTunnel
## page was renamed from Tech/SSHTunel
=== ssh tunnel ssh -L ===
Line 6: Line 8:
1. install sshd package on your local machine
1. add a line in /etc/sshd/sshd_config
{{{
 1. install sshd package on your local machine
 1. add a line in /etc/sshd/sshd_config{{{
Line 11: Line 12:
1. restart sshd service
1. ssh <oracle db host> -L 8081:localhost:8080
1.
login to db web admin console
{{{
    http://local
host:8081/apex
 1. restart sshd service
 1. ssh to start tunnel{{{
     ssh
-L 8081:localhost:8080 <oracle db host>
Line 17: Line 16:
.1 login with 'SYS' account, then click the 'Administration' button, 'Tasks - Manage HTTP Access' , then enable HTTP accesss from remote clients.  1. login to db web admin console{{{
     http://localhost:808
1/apex
}}}
 1.
login with 'SYS' account, then click the 'Administration' button, 'Tasks - Manage HTTP Access' , then enable HTTP access from remote clients.

ssh tunnel ssh -L

How to access the Database Home Page "http://127.0.0.1:8080/apex" remotely using ssh tunnel.

  1. install sshd package on your local machine
  2. add a line in /etc/sshd/sshd_config

         AllowTcpForwarding yes
  3. restart sshd service
  4. ssh to start tunnel

         ssh -L 8081:localhost:8080 <oracle db host>
  5. login to db web admin console

         http://localhost:8081/apex
  6. login with 'SYS' account, then click the 'Administration' button, 'Tasks - Manage HTTP Access' , then enable HTTP access from remote clients.

Tech/SSH (last edited 2014-03-07 18:58:38 by frank)