Thank you Robert for taking the time to test this. The sequence you described works correctly for me as well. However, I don't think this goes through ssh-agent, I think ssh looks in ~/.ssh/id_rsa without using the agent at all.
Here's the sequence that doesn't work for me (using your notation) te...@localhost$ mkdir ~/.ssh te...@localhost$ cp rsa1023.pub ~/.ssh/authorized_keys2 te...@localhost$ cp rsa1023 ~ te...@localhost$ chmod 600 ~/rsa1023 te...@localhost$ ssh-add rsa1023 te...@localhost$ ssh te...@localhost -- ssh are using ssh-userauth but ignores private key https://bugs.launchpad.net/bugs/348126 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs