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…
Please feel free to ignore my comment, if it’s too basic.
What is socketfile?
I have been using ssh for a couple of years, this is the first time I am hearing about socket file. Also, why is it’s deletion at the end of session relevant?
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.
Please feel free to ignore my comment, if it’s too basic.
What is socketfile?
I have been using ssh for a couple of years, this is the first time I am hearing about socket file. Also, why is it’s deletion at the end of session relevant?
Thanks in advance.
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.