You need to get the public key of the user that runs OH and import it to the authorize_keys file of the user user@octopi-server.
Have a look at Openhab to access other server via ssh to execute script this thread should give detailed instructions. If that is not enough please let me know.