Confusion using "ssh-add -D" and then "ssh-add -l"

Chris Green cl at isbd.net
Sat Oct 19 00:24:58 AEDT 2024


On Fri, Oct 18, 2024 at 12:52:33PM +0100, Brian Candler wrote:
> On 18/10/2024 11:38, Chris Green wrote:
> >      chris$ ssh-add -l
> >      256 SHA256:4XDYbepg8zK43pofpQ8IGxMAXkej298a0XZHWjJTIQQ chris at q957 (ED25519)
> >      3072 SHA256:yeQw8xe9rrxHKLqICoXNwReZKKV9HI1UeTCf95QywXM chris at t470 (RSA)
> >      256 SHA256:dluRgJeTqJ32jKxRrSdjr/cibbIOZQeq8Inlna3+Sdw chris at q957 (ED25519)
> >      256 SHA256:gl9l9m/xnYpL9P7WkL60L+FcJ0+r2c5Ci770p9VEC08 chris at q957 (ED25519)
> >      3072 SHA256:dJws+ny7+uWMo2hwFl6yNGE5vFsW1ZKiO0EXwTIfNPc chris at t470 (RSA)
> >      256 SHA256:BxqEiksrCXPxKvQyBXqOqw1WKda110lYiC00Z+fKP4A chris at q957 (ED25519)
> >      chris$ ssh-add -D
> >      All identities removed.
> >      chris$ ssh-add -l
> >      256 SHA256:4XDYbepg8zK43pofpQ8IGxMAXkej298a0XZHWjJTIQQ chris at q957 (ED25519)
> >      3072 SHA256:yeQw8xe9rrxHKLqICoXNwReZKKV9HI1UeTCf95QywXM chris at t470 (RSA)
> >      256 SHA256:dluRgJeTqJ32jKxRrSdjr/cibbIOZQeq8Inlna3+Sdw chris at q957 (ED25519)
> >      256 SHA256:gl9l9m/xnYpL9P7WkL60L+FcJ0+r2c5Ci770p9VEC08 chris at q957 (ED25519)
> >      3072 SHA256:dJws+ny7+uWMo2hwFl6yNGE5vFsW1ZKiO0EXwTIfNPc chris at t470 (RSA)
> >      256 SHA256:BxqEiksrCXPxKvQyBXqOqw1WKda110lYiC00Z+fKP4A chris at q957 (ED25519)
> >      chris$
> >
> > I guess I'm misunderstanding something but I don't see what at the moment.
> 
> Platform? ssh version? What's acting as the ssh-agent?
> 
xubuntu 24.04.  OpenSSH_9.6p1 Ubuntu-3ubuntu13.5, OpenSSL 3.0.13 30 Jan 2024

I think my issue is to do with more than on agent running. I'd
forgotten about gnome getting in on the act.

-- 
Chris Green


More information about the openssh-unix-dev mailing list