I asked on stackoverflow for my problem. And i will ask here too…

Does anybody know, what the problem could be?

  • WhyAUsername_1@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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.

    • Fuck Lemmy.World @lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      What is socketfile?

      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.

      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.