I'm sorry, I didn't read your question exactly. I don't know of a tool that can access the keychain via ssh directly. You would have to login a user to the console to later allow access to the keychain. Both of this can be done with
osascript.
Which app needs a command-line to work properly? What do you want to do?
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
Accessing keychain from Terminal?
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.