Hello,
Is there any ability to provide an ssh-agent for remote application debug mode?
In my company we use Yubikey to connect to the machines, it stores private keys as socket in OS, but yourkit profiler has 2 options to connect:
* with password
* with private_key file (it does not understand socket)
Has anyone faced with such problem?
I tried to connect using ssh tunnel, forwarding remote ssh port to local and connect to localhost but it was not succeed because we use specific ssh server...
I see few solutions, but feature request require:
* implement the ability to use ssh-agent
* support .sock keys
SSH agent for remote debug
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: SSH agent for remote debug
Hello,
What was the error message?I tried to connect using ssh tunnel, forwarding remote ssh port to local and connect to localhost but it was not succeed because we use specific ssh server...
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: SSH agent for remote debug
Please try v2022.9 EAP https://www.yourkit.com/eap/ There were many improvement in SSH connectivity.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 3
- Joined: Tue Sep 06, 2022 12:27 pm
Re: SSH agent for remote debug
if I specify .sock that I found in filesystem error message: Cannot find private key /path/key.sock. Same result with 2022.9-b132Anton Katilin wrote: ↑Tue Sep 06, 2022 1:42 pm Hello,
What was the error message?I tried to connect using ssh tunnel, forwarding remote ssh port to local and connect to localhost but it was not succeed because we use specific ssh server...
> file ./path/key.sock
./path/key.sock: socket
seems like it cannot resolve socket..
Is this possible for yourkit to use local ssh-agent?
I can see my keys here:
> ssh-add -L
mykeys
> ssh -V
OpenSSH_8.6p1, LibreSSL 3.3.6
or maybe add supporting for sockets?
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: SSH agent for remote debug
Please describe in details, where you keep your private SSH key. Profiler supposes that SSH private key is in normal file. Do you mean UNIX sockets?
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 3
- Joined: Tue Sep 06, 2022 12:27 pm
Re: SSH agent for remote debug
In my organization we have SSH PKI and special client soft(which is custom ssh-agent) for communication.
Employee's private keys are stored in USB device called Yubikey (https://developers.yubico.com/SSH/) and can be accessed via that special via ssh-agent protocol.
Employee's private keys are stored in USB device called Yubikey (https://developers.yubico.com/SSH/) and can be accessed via that special via ssh-agent protocol.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: SSH agent for remote debug
alejezvir, thank you for explanation. We are investigating the possiblity to support authentication through ssh-agent.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: SSH agent for remote debug
alejezvir, please try latest v2022.9-b145 https://www.yourkit.com/eap/
We have supported authentication through ssh-agent. Please report the issues if any.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
We have supported authentication through ssh-agent. Please report the issues if any.
Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"