While executing a remote host connection with SSH, and starting the whole Oracle's Middle-ware environment, eventually I need to double check if the administration server, and the deployed applications are accessible from the respective IP address. The following scenario describe better the obstacles to finish my task:
1. Due to some VPN configuration, I have to use Windows, which in my case the Win. OS is running on a virtual machine.
2. I only have the SSH protocol ( port 22 ).
3. As explained above, I had to login into the WLS's Admin's Console, to finish configuration and run a simple check on the Managed Servers' deploy Apps to check the IP access.
1. Download and install Putty, its a nice little software that enables Windows users to connect into a remote Unix like OS through the SSH protocol.
2. Search and start putty from your Windows menu search:
4. The go to connection/SSH/X11, and select the 'Enable X11 forwarding'. This will enable the X11 port forwarding in case of exporting GUI into local machine. Also you need on Windows the Xming installed and running.
5. Then go to the connection/SSH/Tunnels and do the following action:
- Add a local port to access, 7001;
- Provide the remote Destination IP. Be careful with this configuration, Because you could be using the SSH connection to connect to another remote machine so you need to make sure the you provide the same IP as the connected SSH session;
- Provide the port in which the service is running on the provided IP;
6. That's it, now you can access the Admin's Console on you localhost at http://localhost:7001/console and any application deployed on the managed server at http://localhost:15101/appName;