[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get the pid of the shh session


Hi,

Is there any way to get the PID of the open session ?

The following function ssh_dump_knownhost (i know is deprecated) answer:
192.168.132.128 ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIDV8oNhqjtEfNSY+RnHo05uPRgAM/+Z5ahs7ZBrWMPiD

But it seems that 25519 is not a PID (not listed in ps -aux).

Also there is "PiD" at the end of the string but not sure about the meaning.

I'm searching in the documentation with no luck yet :)

regards,
bruno

Follow-Ups:
Re: Get the pid of the shh sessionAnderson Sasaki <ansasaki@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org