I faced a strange problem.
Give: 2 Debian 12, same updates done.
When i create a ssh-agent with
ssh-agent -a ~/.ssh/my-agent -t 7200
i get a ssh-agent process and a socketfile ~/.ssh/my-agent
then i
I asked on stackoverflow for my problem.
And i will ask here too…
A socket file allows two processes on a Unix or Linux system to communicate with each other. In this case, the ssh client communicates with the ssh agent over this socket so that it can authenticate to servers with the private key stored inside the agent. Think of a socket like a TCP port on the network, but instead of being network connected it’s just a file on the filesystem.
Also, why is it’s deletion at the end of session relevant?
That is a question you should ask OP. I don’t really know what he’s trying to accomplish, I’m just curious about what would cause the difference in behavior.
A socket file allows two processes on a Unix or Linux system to communicate with each other. In this case, the ssh client communicates with the ssh agent over this socket so that it can authenticate to servers with the private key stored inside the agent. Think of a socket like a TCP port on the network, but instead of being network connected it’s just a file on the filesystem.
I’m sure you’ve heard of the “everything on Unix is a file” paradigm? This is an example of that.
That is a question you should ask OP. I don’t really know what he’s trying to accomplish, I’m just curious about what would cause the difference in behavior.