When I ssh macbook as root user and run
security find-identity -p codesigning -v`
I get
0 valid identities found
But when I run the following directly on the macbook
security find-identity -p codesigning -v
It shows all identities.
I read this SO question but still can't solve it.
how can I show all identities with ssh on macbook.