Bug#530609: ssh-agent: off-by-one error in SSH_AUTH_SOCK numbering
Package: openssh-client
Version: 1:5.1p1-5+b1
Severity: minor
jon@tchicaya:~$ eval `ssh-agent`
Agent pid 7289
jon@tchicaya:~$ ps -eaf | grep 7289
jon 7289 1 0 11:14 ? 00:00:00 ssh-agent
jon 7291 7263 0 11:14 pts/4 00:00:00 grep 7289
jon@tchicaya:~$ ls $SSH_AUTH_SOCK
/tmp/ssh-HdyWeT7288/agent.7288
This might not even be considered a bug, but the pid
suffixed to the auth sock filename is numerically one
shorter than the pid of the ssh-agent process. Perhaps it's
the PID of the ssh-agent process invoked by myself and the
running instance afterwards was a forked child? Unsure. It
doesn't impact the working of the agent, it's just a bit
confusing :)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages openssh-client depends on:
ii adduser 3.110 add and remove users and groups
ii debconf [debconf-2.0] 1.5.26 Debian configuration management sy
ii dpkg 1.15.1 Debian package management system
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libcomerr2 1.41.5-1 common error description library
ii libedit2 2.11~20080614-2 BSD editline and history libraries
ii libgssapi-krb5-2 1.7dfsg~beta2-4 MIT Kerberos runtime libraries - k
ii libk5crypto3 1.7dfsg~beta2-4 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.7dfsg~beta2-4 MIT Kerberos runtime libraries
ii libncurses5 5.7+20090516-1 shared libraries for terminal hand
ii libssl0.9.8 0.9.8g-16 SSL shared libraries
ii passwd 1:4.1.4.1-1 change and administer password and
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
Versions of packages openssh-client recommends:
ii openssh-blacklist 0.4.1 list of default blacklisted OpenSS
ii openssh-blacklist-extra 0.4.1 list of non-default blacklisted Op
ii xauth 1:1.0.3-2 X authentication utility
Versions of packages openssh-client suggests:
pn keychain <none> (no description available)
pn libpam-ssh <none> (no description available)
pn ssh-askpass <none> (no description available)
-- no debconf information
Reply to: