Ok, I understood what's going on here! I had many ssh private keys and some of them have length <1024 but my main one is 2048. ssh-add doesn't add any key just because one of them is unsafe. I removed old keys and the problem is fixed.
I guess this is an upstream bug and not Ubuntu. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1764743 Title: ssh asks for passphrase To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1764743/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs