To profile Java applications running on the remote machine use Profile remote Java EE server or application... action on Welcome screen or in "Tools" menu.
Specify the host name or IP address of the remote machine in the opened "Profile Remote Application" dialog.
There are two methods for detecting applications running on the remote machine:
Simple method. Profiler discovers applications running with the profiler agent. Ports in the given range will be scanned. By default the profiler agent port is allocated in the range 10001-10010. If the profiler port was changed with startup option 'port', also change the Profiler agent port(s) field accordingly.
Advanced method. Profiler creates SSH connection to the remote machine. It will detect all running Java applications. Applications running without the profiler agent will be detected as well. You will be able to attach to them. Specify SSH user and SSH port in the corresponding fields. Authentication with a password or a private key is supported.
If the remote host is not directly reachable you can build SSH tunnel. To do so, navigate to the SSH Tunnel tab and enable SSH tunnel using Use SSH tunnel checkbox.
Created connection will appear in the "Monitor Applications" list on Welcome screen under a given name. You can then connect to the application to perform profiling.
If you do not see your application it the list, please read Troubleshoot connection problems.
For a usage example see Profiling in Amazon EC2 instance.
Please note that for SSH connections known hosts are not checked, and
StrictHostKeyChecking SSH parameter is set to