beware -- ssh-agent requires x* sets in 7.9

Kirill Miazine <[email protected]> Sat, 11 Jul 2026 12:12:58 +0200
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
Hi, misc

On one of the systems installed with -x* sets I noticed that ssh-agent 
does not start.

It _seems_ to start:

$ ssh-agent && echo ok
SSH_AUTH_SOCK=/home/km/.ssh/agent/s.w65duqkccj.agent.ChExqCSMcA; export 
SSH_AUTH_SOCK;
SSH_AGENT_PID=59983; export SSH_AGENT_PID;
echo Agent pid 59983;
ok

But it does not, which becomes apparent with -d:

$ ssh-agent -d && echo ok
debug1: unix_listener_tmp: trying path 
"/home/km/.ssh/agent/s.w65duqkccj.agent.kVUK6WcN85"
debug3: unix_listener_tmp: listening on unix socket 
"/home/km/.ssh/agent/s.w65duqkccj.agent.kVUK6WcN85" as fd=3
SSH_AUTH_SOCK=/home/km/.ssh/agent/s.w65duqkccj.agent.kVUK6WcN85; export 
SSH_AUTH_SOCK;
echo Agent pid 34981;
debug1: new_socket: type = SOCKET
debug2: fd 3 setting O_NONBLOCK
ssh-agent: unveil /usr/X11R6/bin/ssh-askpass: No such file or directory
debug1: cleanup_socket: cleanup
debug3: pkcs11_terminate: terminating 0 helpers

So you might want to check your systems you might have installed without 
x* sets and where using ssh-agent.

Greetz!

K.