Set up an SSH tunnel to access the Oracle WLS Administration Console

The post introduces steps to set up an SSH tunnel for Oracle® WebLogic Server (WLS) Administration Console access in version R12.2.

Use SSH tunneling

STEP 1: ADD THE PRIMARY WEBLOGIC ADMINISTRATION SERVER

  1. Open a PuTTY session.
  2. Enter the host information in the Host Name (or IP address) field, replacing <primary_admin_server> with the primary application WebLogic Administration node, where you are running the WLS Administrator.

3. Add a saved name to identify the connection for access easily and click Save.

STEP 2: CONFIGURE THE TUNNEL

  1. In the left-panel, click SSH > Tunnels and add local port and destination <primary_admin_server>:<Weblogic_Admin_port> and click Add.

2. Click Add to open the PuTTY configuration window.

STEP 3: SAVE THE SETTINGS

In the left-panel, click Session and click Save.

STEP 4: VALIDATE THE TUNNELING

  1. Login to PuTTY as the application OS user to your primary administration server.
  2. Open a web browser to access http://localhost:7001/console.

After you set up SSH tunneling from your UNIX or Windows® client, you can securely access the WLS Administration Console and Fusion Middleware Control. Launch a browser from your client and connect to the administrative URLs.

On a Windows client, you can use either one of the following SSH executables:

  • Windows 10: OpenSSH ssh from Microsoft: If you use ssh, follow the syntax for ssh shown in the preceding example.
  • Windows 7: plink from PuTTY: If you use plink, use the following command: C:\> plink.exe -N -L localhost:<WLS_admin_port>:<primary-apptier>:<WLS_admin_port> <OS_user>@<primary-apptier> For example, if the Oracle WebLogic Server Administration port is 7001, and the OS user is oracleuser, use the following command: C:\> plink.exe -N -L localhost:7001:<primary-apptier>:7001 oracleuser@<primary-apptier>

Conclusion:

SSH tunneling helps you access the WLS Administration console from a local Windows device, where EBS restricted all access to the WLS Administration server for other devices. You don’t need any additional software other than PuTTY to set up the SSH tunnel.

Reference: https://docs.rackspace.com/blog/set-up-an-ssh-tunnel-to-access-the-oracle-wls-administration-console/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s