[Bug 841672] Re: ssh-add does not unlock ssh keys
I just tested it here -- Oneiric, two terminal windows, one running RoxTerm, one under byobu. On the byobu window: ssh-add -l (my key was shown) ssh-add -D ssh-add -l (no keys shown) ssh test.machine.info (pop up asking for SSH passphrase; entered it, got in session; ended the session) ssh test.machine.info (session opened with no pop-ups; ended the session) ssh-add -D ssh-add -l (no keys shown) ssh-add ssh-add -l (my key was shown) ssh test.machine.info (session opened with no pop-ups; ended the the session) Moved over to the stand-alone RoxTerm; then repeated the tests. To my surprise even *after* adding my SSH key in, when I tried to open the SSH session to the test machine I was still presented with a pop-up asking for the passphrase on *first* SSH. Second SSH session, *without* running 'ssh-add -D', opened the session without a pop-up for passphrase. Another interesting bit: on the RoxTerm stand-alone, 'ssh-add -D' did *not* clean up the keys in the agent. Additional findings: SSH-AUTH_SOCK differs on the terminal windows (byobu and RoxTerm): * Under RoxTerm: [cerdea-aws]cerdea@xango3:~$ set | grep SSH SSH_AGENT_PID=2857 SSH_AUTH_SOCK=/tmp/keyring-6fXAtd/ssh [cerdea-aws]cerdea@xango3:~$ * under byobu: [cerdea-aws]cerdea@xango3:/build/buildd/ubuntu-qa-tools/vm-tools$ set | grep SSH SSH_AGENT_PID=2857 SSH_AUTH_SOCK=/home/cerdea/.byobu/.ssh-agent [cerdea-aws]cerdea@xango3:/build/buildd/ubuntu-qa-tools/vm-tools$ Note that the SSH_AGENT_PID is the same. Also, I dimly remember something about gnome-keyring and ssh-add. Will try to find out the references. Setting importance to Medium. ** Changed in: openssh (Ubuntu) Importance: Low => Medium ** Summary changed: - ssh-add does not unlock ssh keys + ssh-add does not always unlock ssh keys -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/841672 Title: ssh-add does not always unlock ssh keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 841672] Re: ssh-add does not unlock ssh keys
> Please reconsider the importance - it is a quite annoying bug (at least to me). +1 This bug is very annoying and a drain on productivity. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/841672 Title: ssh-add does not unlock ssh keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 841672] Re: ssh-add does not unlock ssh keys
> Please reconsider the importance - it is a quite annoying bug (at least to me). Same here. We have rather complex tunneling mechanisms where we hop over 5+ systems to get to the target hosts. With a strong (and long) passphrase and some dozen connections a day (remote support) over here this results in a major degradation of productivity. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/841672 Title: ssh-add does not unlock ssh keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 841672] Re: ssh-add does not unlock ssh keys
Please reconsider the importance - it is a quite annoying bug (at least to me). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/841672 Title: ssh-add does not unlock ssh keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 841672] Re: ssh-add does not unlock ssh keys
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openssh (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/841672 Title: ssh-add does not unlock ssh keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 841672] Re: ssh-add does not unlock ssh keys
** Changed in: openssh (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/841672 Title: ssh-add does not unlock ssh keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 841672] Re: ssh-add does not unlock ssh keys
Here's the output: claudio@Chuck:~$ echo $SSH_AUTH_SOCK /tmp/keyring-TjsKLR/ssh ** Changed in: openssh (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/841672 Title: ssh-add does not unlock ssh keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 841672] Re: ssh-add does not unlock ssh keys
Is your ssh agent running? What does "echo $SSH_AUTH_SOCK" say? ** Changed in: openssh (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/841672 Title: ssh-add does not unlock ssh keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs