This did eventually work around my problem: https://gist.github.com/mikemol/084759d9bbbaf818ecbb0688d4cc0f5c
I suppose the difference between the exit code of 1 and 2 was sufficiently useful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870932 Title: ssh-add -L incorrectly reports a failure when successfully retrieving an empty identity list To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1870932/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs