Hi All,
I’m trying to set up a mechanism for collaborators to upload analysis results. Seems that OhdsiSharing is the way to go, but I couldn’t find an explanation (or example showing) how to set it up.
I did manage to use the package to generate private and public keys, encrypt and decrypt files. But when I tried to use the key to sftpConnect (to then create a new study directory), I get the following error + warning:
Error in sftpConnect(privateKeyFileName, userName) :
Private key file does not contain RSA private key
In addition: Warning message:
In readChar(privateKeyFileName, file.info(privateKeyFileName)$size) :
truncating string with embedded nuls
What do I miss?
Thanks, happy new year!