You can probably find it under /proc/$SSH_AGENT_PID/fd.


With that said, I'm not sure whether that brings you any closer to recovering it. Maybe a move (the syscall, not the command line) from there to $SSH_AUTH_SOCK?


Shachar


On 08/01/2022 11:06, Tzafrir Cohen wrote:
Hi,

I accidentally deleted my ssh-agent's socket from /tmp. The agent is
still running and I have $SSH_AGENT_PID and $SSH_AUTH_SOCK set in
various processes, so I know where it should have been.

Is there any way to recover the socket? Short of restarting the X
session, of course.

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to