Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How come this happens?:

stan@tcpc:~/.ssh$ ssh-add -l
8192 e0:45:5e:cc:45:3e:17:2b:a6:54:6f:8d:53:1b:j2:e3 github (RSA)
2048 25:41:53:a6:45:5d:ac:eb:5c:45:f8:ce:42:a9:he:aa BITBUCKET (RSA)
stan@tcpc:~/.ssh$ ssh-add -D
All identities removed.
stan@tcpc:~/.ssh$ ssh-add -l
8192 e0:45:5e:cc:45:3e:17:2b:a6:54:6f:8d:53:1b:j2:e3 github (RSA)
2048 25:41:53:a6:45:5d:ac:eb:5c:45:f8:ce:42:a9:he:aa BITBUCKET (RSA)

How come keys aren't being erased?

p.s. could be this bug? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472477 I'm on arch linux though...

share|improve this question
    
That bug is years old; on an up-to-date Arch box, it works as expected: openssh 6.2p1-1 –  jasonwryan Apr 16 '13 at 18:16
    
jsonwryan... it's actual not years old. Last comment dated 05 Oct 2012 - mentions that it still wasn't fixed. Other comments suggest that the problem is upstream. And no - it doesn't work for me on up-to-date Arch system. However - when I move ssh keys from ~/.ssh directory into ~/.ssh/my_keys (as suggested in bug report) -> addition and removal does work as expected. –  agent_smith Apr 16 '13 at 18:25
1  
Read the report carefully: "Fixed in version 3.2.2-2" - pacman -Ss gnome-keyring: 3.6.3-1 –  jasonwryan Apr 16 '13 at 18:32

1 Answer 1

If you're on Ubuntu read this, worked for me.

share|improve this answer
1  
Welcome to Unix & Linux! Generally we like answers on the site to be able to stand on their own - Links are great, but if that link ever breaks the answer should have enough information to still be helpful. Please consider editing your answer to include more detail. See the FAQ for more info. –  slm Jul 23 '13 at 20:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.