You also need to set SSH_ASKPASS and DISPLAY appropriately. Please see the ssh-add and ssh-agent manpages.
I've just checked behaviour on Quantal and as far as I can see, everything is working as expected, so I believe this to be a local configuration issue and not a bug. So I'm marking this bug as Invalid. If you need help with configuring this feature, there are pointers on how to get community assistance here: http://www.ubuntu.com/support/community If you find that this really is a bug, please explain and set the bug status back to New. ** Changed in: openssh (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1067301 Title: ssh-add: Error reading response length from authentication socket. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1067301/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs