CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/09/15 18:25:50

Modified files:
        usr.bin/ssh    : misc-agent.c misc.h pathnames.h servconf.c 
                         servconf.h session.c ssh-agent.1 ssh-agent.c 
                         sshd_config.5 

Log message:
Allow specification of agent socket directories

Add AgentSocketPath for sshd_config and -A flag for ssh-agent.

Agent socket directories may be shared or user-specific.

Shared directories (specified like "shared:/tmp") will cause the listening
program to create a temporary subdirectory ssh-XXXXXXXXXX under the requeted
path to hold the socket. This supports the old sshd/ssh-agent behaviour before
we switched to the socket directory being under ~/.ssh/agent

User-specific directories just create the socket directly in the requested
directory. This is the default, as user:.ssh/agent

bz3860; ok markus, deraadt

Reply via email to