Which mechanism does ssh use to interact with the SSH agent?

December 4, 2021 by Admin

Which mechanism does ssh use to interact with the SSH agent?

  • Connecting to port 2222 which is used by the system-wide SSH agent.
  • Using the fixed socket .ssh-agent/ipc.
  • Creating an alias replacing ssh with calls to ssh-agent.
  • Starting ssh-agent as a child process for each ssh invocation.
  • Evaluating environment variables such as SSH_AUTH_SOCK.

Leave a Reply