Profile remote application not able to authenticate

Questions about YourKit Java Profiler
Post Reply
nanotroy
Posts: 2
Joined: Wed Jul 24, 2019 2:28 pm

Profile remote application not able to authenticate

Post by nanotroy »

I'm trying to use YourKit 2019.1-b133 to profile a remote Java application. I'm able to SSH into the server via the Mac Terminal without issue using the command

Code: Select all

ssh -i ~/.ssh/id_rsa [email protected]
(but with the real username and ip address obviously). However, when I enter the same information in YourKit GUI after clicking on "Profile remote Java EE server or application...", it says "Failed to authenticate to [email protected]." I checked 10+ times that I've entered everything correctly, I've tried with and without SSH Tunnel, I've tried the "simple" discovery method instead of "advanced", and nothing works. The only thing I can get besides the "Failed ..." message is "Connecting..." indefinitely if I enter the same information for both the SSH tunnel and "Advanced" application discovery method.

Is anyone able to help me troubleshoot?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profile remote application not able to authenticate

Post by Anton Katilin »

Did you specify the key ~/.ssh/id_rsa in the connection dialog under "Authentication settings..."?
nanotroy
Posts: 2
Joined: Wed Jul 24, 2019 2:28 pm

Re: Profile remote application not able to authenticate

Post by nanotroy »

Anton Katilin wrote:Did you specify the key ~/.ssh/id_rsa in the connection dialog under "Authentication settings..."?
Yes, although I used the absolute path instead since there's an error finding the file if I use the path with the tilde in it. Eg:

Code: Select all

/Users/myaccount/.ssh/id_rsa
I also included the passphrase for the private key and have triple checked that I got it right.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Profile remote application not able to authenticate

Post by Anton Katilin »

Could you please send the profiler log file ~/.yjp/log/profiler-ui-<PID>.log to [email protected]
Post Reply